4 ms·
From https://github.com/jeffkaufman/apartment_prices/blob/master/query_padmapper.py#L103-L105 https://github.com/jeffkaufman/apartment_prices/blob/master/...
by aGHz 14y ago
From https://github.com/jeffkaufman/apartment_prices/blob/master/query_padmapper.py#L103-L105 https://github.com/jeffkaufman/apartment_prices/blob/master/...
The guy who wrote Padmapper says this tool puts a pretty heavy load on his server and he
would rather it was run no more than once a month. If you're just looking for some
apartment data, I've put some in apts-2013-01-29, which is for Boston in January 2013.
Please be considerate when running this. It does multiple querries to padmapper, one for each choice in number of bedrooms (0 to 9) times the number of 25$ increments in rent between 100$ and MAX_RENT. Consider tweaking those variables and maybe the 100 lower limit at https://github.com/jeffkaufman/apartment_prices/blob/master/query_padmapper.py#L85 https://github.com/jeffkaufman/apartment_prices/blob/master/...
- cbr 14y agoWhen I first wrote it I talked to padmapper, and they said that as long as I wasn't going to run it very often it made more sense to keep with the horribly inefficient method in query_padmapper.py than for him to put a bunch of time into making something fancier available. Though a dump of the whole country doesn't sound like it would be that hard and making a US-sized map would be awesome.
- ericd 14y agoYeah, it's a bit more worrying that it's public code, but I imagine that it will be fairly limited, and it seems like people find it useful, so it's probably not a big deal as long as people don't use it too frequently. If there's enough interest, perhaps I should make this heatmap an option on PM itself so that people don't have to all make their own? Would you be OK with my using the code for that?
- cbr 14y ago> perhaps I should make this heatmap an option on PM itself so that people don't have to all make their own? That would be awesome. The current code drawing code is probably too slow for this, though.
- ericd 14y agoCool cool. It'll probably take me longer if it needs to be rewritten. I guess it's not tile-based?