-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to find the hilliness of routes/zones? #1
Comments
The following code, for example shows how to find the average hilliness at the route level (you can do this for the zones, 'z', also): u = "https://github.com/npct/pct-outputs-regional-R/raw/master/commute/msoa/isle-of-wight/rf.Rds"
download.file(url = u, destfile = "rf.Rds")
rf = readRDS("rf.Rds")
library(tmap)
tmap_mode("view")
#> tmap mode set to interactive viewing
qtm(rf, lines.col = "rf_avslope_perc") |
Thanks, Robin. |
@adammartin1 I can reply to that. You will find descriptions of the perc_rf_dist_u10km: Percent of commuters in zone with fast route commute distance <10km [calculated excluding trips with no fixed work place] |
Great stuff, thanks for the reply Adam and the links Ali. Adam if you've any further issues let us know - and let us know if this is useful. |
Great, thanks for the quick responses... |
It is a percentage incline, i.e. if you change elevation up/down by 1m for every 100m horizontal, that is 1% (see appendix to https://www.jtlu.org/index.php/jtlu/article/view/862) |
Plus if you've any other queries feel free to come across to LIDA to ask Adam. Plan to leave this 'issue' open so it's more prominent and raise questions about using the data, which is separate from our pct-shiny bug tracker. |
Question from Adam Martin on this - with an interest in London.
The text was updated successfully, but these errors were encountered: