Open njtierney opened 5 years ago
I like this! It could be used to compare with urban greening and art projects too...
I wonder if I mention @hrbrmstr here then this package will magically get written too :)
new issue: A bot that trawls the internet, identifies APIs, creates gh issues, and tags @hrbrmstr (jks, of course)
I wonder if I mention @hrbrmstr here then this package will magically get written too :)
It's magic! https://cran.r-project.org/web/packages/walkscoreAPI/index.html
However, I'm not at all comfortable that this complies with the terms of use of the site.
You may not use in your URLs nor purchase or register in any registrar, search engine, referral or advertising service (such as Google’s AdWords) any of the following terms: “Walk Score,” “walkscore,”
and
You will not provide a means to execute any "bulk download" operations
since the package description says "These functions are especially useful for mass data collection and gathering Walk Score and Transit Score values for large lists of locations."
We're (https://github.com/sa-lee/rwalkable) using OpenStreetMap data (and maybe other sources in the future) to look at nearby 'amenities' and at the connectivity of the road network, which are two components of walkability. Another one is population density, but that seems hard to do worldwide.
It would have actually, very likely worked @coolbutuseless ;-) Feel encouraged to do so in the future (I don't get visibility into pkg needs as much since I've abandoned Twitter until 2020). The reason for the restrictions for the API are that they have a "research data product" https://www.walkscore.com/professional/research.php (which is not free). It doesn't look like they police it but I wouldn't use it to hit the API unless I was behind a proxy that doesn't store any logs.
It looks like there isn't a walkability R package yet. There's a defined API here: https://www.walkscore.com/professional/api.php
This could be a fun package to make to explore interacting with APIs. I imagine the main function would be something like
And the output could be a tibble with columns:
walkability
,lat
,long
,message
In terms of output, I could imagine it would be fun/interesting to create a walkability map of Melbourne or other areas in Australia and compare this with things like hospital catchments or other data