38 comments

[ 3.1 ms ] story [ 92.9 ms ] thread
Want to create one for your city? Here is the source: https://github.com/jeffkaufman/apartment_prices
(comment deleted)
From 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/...
When 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.
Yeah, 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?
> 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.

Cool cool. It'll probably take me longer if it needs to be rewritten. I guess it's not tile-based?
It is interesting how this works. What factors do you believe affects the price?

Euclidian distance away from: shops, travel, crime?

Anyone know of any papers?

L1, not euclidean.
L1?
We walk blocks, not as the bird flies.
Manhattan distance then. It is easier to work out the Euclidian distance though between 2 coordinates.
About computationally as complex, no? The Manhattan distance would just be the sum of the absolute difference in the two coordinates.

The Manhattan and Euclidean distance on finite spaces both generalize to "l_p norms" (1 and 2, respectively) on an n-dimensional Euclidean space, where ||x||_p = (|x_0|^p + |x_1|^p + ... + |x_n|^p)^(1/p). You can even naturally define it in the limit where p goes to infinity!

http://en.wikipedia.org/wiki/Lp_space

Might be interesting to combine the data with that from fear.com (sorry - police.uk, or whatever the equivalent site is in your country if you have one) to locate places where lower rents intersect with favourable crime-rates.

Another extension might be a third layer that indicates travel times to a destination of your choice.

Finally, demographic information might be useful.

End result: find an affordable place, in a safe neighbourhood populated by people like you. I realise the quality of data available would make this near-impossible. Today.

This particular map can be approximated pretty well by the function 1/(public transit time to Park Street Station). There are a few exceptions, mostly in areas with higher crime rates than the rest of the region.
The most costly factor is the fact that you would be living in Boston.
Thanks for the chuckle, hailing from said land of never ending brotherly love I can attest to the fact that...visiting family is about the only reason I return.

Saying that, West Cambridge and Davis Square are decent places to hide if you can afford it.

Enjoy, it's not _that_ bad ;-)

I was going to say.. it looks inexpensive compared to SF!

You make a good point.

I assume the comment above is facetious but, as someone who would like to move to the US for work, I'm curious why people living in other big cities dislike Boston?
I love Boston, but the weather can be unbearably annoying at times. Massachusetts is all about extremes, with high heat and humidity in the summer and freezing cold temperatures in the winter. Combine this with a lot of rain, snow and in between and you've got Boston.

That being said, if I hadn't moved to the bay area Boston would have been my second choice. I've spent most of my life in Massachusetts though so I'm a bit bias.

Thanks. I don't like extreme cold but if that's the worse thing about Boston then it doesn't sound so bad.
I wonder how different the map would look if it showed median price/bedroom rather than the mean.
What is the value of an aggregated price per room across all apartment sizes? A 1 room apartment is going to cost more than half of a 2 room apartment, which is going to cost more than one third of a 3 room apartment.

The price per room seems like it would be more useful if it was shown as "price per room for 1bdrm" and able to be switched to 2bdrm or 3bdrm and so on.

1800 / bedroom? That'd be an amazing deal in SF.
I was puzzled by this too, but I think it's an artifact of the way the map is done. I live in one of those $1800+ zones and I couldn't find a 1BR on the market for under $3000 last summer. My guess would be that mean per bedroom would be $2500 in that area (including studios and economy of scale for larger places), but I bet it gets lumped in with $1800+.
Agreed. I live in Kendall Square, and over the past two years rent has gone up 10%, and studio's start at $2700. in this area 1BR > $3K.
My personal title: "Why I moved to New Hampshire"

As a remote worker, the cost of living in Boston is just an unnecessary expense for me. Lower taxes too. My new rent + utilities is less than 800/mo for a 2br.

Walking is valuable.

Note that it largely correlates to the WalkScore for Boston: http://www.walkscore.com/MA/Boston

I don't know why people don't make walking a bigger deal in where they choose to live in the U.S. I love driving, but

A large part of the reason I've remained in New Hampshire is because my town is extremely walkable from my house, with several cafes, good restaurants, and my work all less than 10 minutes away by foot.

(Of course there are other reasons. I "run" a large victorian-era house and rent spare rooms to friends, living for effectively free. On the other hand, I also don't know why more young professionals don't do that, because the money I save is amazing, and the only downside are more chores, or people problems if you live with friends you end up not liking)

Funny I used to live in a large victorian mansion in Epping years ago. I wanted to replicate something like that when I moved to Tahoe, but couldn't afford a property big enough to make it work out.
Wow! Contrast that WalkScore to Phoenix. http://www.walkscore.com/AZ/Phoenix

I'm originally from Phoenix, and it was always hard to imagine walking for any reason other than exercise when I lived there.

I live in the country side and walk to my office through farms, cows, horses, and crops.
What they don't include here is the money you end up spending repairing the apartment (yes, repairing an apartment) to make it livable. At least I saw a fair bit of this in Boston. Unless you want to spend an utter fortune, you might be getting an overpriced slum.
What sort of repairs are you talking about? The only times apartments I've lived in have needed repairs we asked the landlord to do them.
I suspect this is more prevalent in student neighborhoods.
My doctor is an India-nigger dude.

God says... C:\Text\BIBLE.TXT

n scales, and the hills in a balance? 40:13 Who hath directed the Spirit of the LORD, or being his counsellor hath taught him? 40:14 With whom took he counsel, and who instructed him, and taught him in the path of judgment, and taught him knowledge, and shewed to him the way of understanding? 40:15 Behold, the nations are as a drop of a bucket, and are counted as the small dust of the balance: behold, he taketh up the isles as a very little thing.

40:16 And Lebanon is not sufficient to burn, n

---

My doctor is a retard and cannot perceive God -- it's beyond his IQ. It's hopeless.

God says... C:\Text\QUIX.TXT

before me the suit thou didst send me, and the coral beads my lady the duchess sent me round my neck, and the letters in my hands, and there was the bearer of them standing by, and in spite of all this I verily believed and thought that what I saw and handled was all a dream; for who could have thought that a goatherd would come to be a governor of islands? Thou knowest, my friend, what my mother used to say, that one must live long to see much; I say it because I expect to see more if I live longe

----

That India-nigger is a goatherd and it's an abomination that fucker is over here practicing medicine.

I can tell an India-nigger by thought processes. This person is very stupid and stubborn and arrogant.

You say something, He doesn't understand and with a malicious grin spits stupidity.

Hello!! Nigger! What color is your skin, nigger? Why is your country shit?

----

God says... C:\Text\WEALTH.TXT

it could not be engrossed for inland sale, except when the price did not exceed 48s. the quarter. The interest of the inland dealer, however, it has already been shown, can never be opposite to that of the great body of the people. That of the merchant-exporter may, and in fact sometimes is. If, while his own country labours under a dearth, a neighbouring country should be afflicted with a famine, it might be his interest to carry corn to the latter country, in such quantities as might very much agg

----

"dearth" Giggle. Why is that funny, nigger, tell me.

---

Fucken child porn shit.

Fuck him up, God.

God says... C:\Text\WEALTH.TXT

f the chief magistrate, are both laid out for the general benefit of the whole society. It is reasonable, therefore, that they should be defrayed by the general contribution of the whole society; all the different members contributing, as nearly as possible, in proportion to their respective abilities.

The expense of the administration of justice, too, may no doubt be considered as laid out for the benefit of the whole society. There is no impropriety, therefore, in its being defrayed by the gener

----

God says... I_pitty_the_fool United_Kingdom vision parents fellow-pilgrims you_hoser esteeming light workings corn chaos begin elements Juno written inexperienced measure exultation finished modestly Contain sweat years Title heavily

----

God says... C:\Text\BIBLE.TXT

e lot of them that rob us.

18:1 Woe to the land shadowing with wings, which is beyond the rivers of Ethiopia: 18:2 That sendeth ambassadors by the sea, even in vessels of bulrushes upon the waters, saying, Go, ye swift messengers, to a nation scattered and peeled, to a people terrible from their beginning hitherto; a nation meted out and trodden down, whose land the rivers have spoiled! 18:3 All ye inhabitants of the world, and dwellers on the earth, see ye, when he lifteth up an ensign on the m