Skip to content
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

Issue with route network download #50

Closed
ailishgraham opened this issue Aug 2, 2019 · 2 comments
Closed

Issue with route network download #50

ailishgraham opened this issue Aug 2, 2019 · 2 comments

Comments

@ailishgraham
Copy link

library(pct)
    cycling_popularity = get_pct_rnet("isle-of-wight")
#> Warning in utils::download.file(url = u_file, destfile = destfile, mode
#> = "wb"): cannot open URL 'https://github.com/npct/pct-outputs-regional-R/
#> raw/master/commute/msoa/isle-of-wight/rnet.Rds': HTTP status was '404 Not
#> Found'
#> Error in utils::download.file(url = u_file, destfile = destfile, mode = "wb"): cannot open URL 'https://github.com/npct/pct-outputs-regional-R/raw/master/commute/msoa/isle-of-wight/rnet.Rds'

Created on 2019-08-02 by the reprex package (v0.2.1)

@Robinlovelace
Copy link
Member

Thanks for raising the issue @ailishgraham. I think the issue is fixed in the latest version - try installing it, restarting your R session, and re-running the reproducible example. I get this:

library(pct)
    cycling_popularity = get_pct_rnet("isle-of-wight")
#> No MSOA route network data available, downloading LSOA data
#> Loading required package: sp

Created on 2019-08-02 by the reprex package (v0.3.0)

@Robinlovelace
Copy link
Member

Works fine for now so closing. Any other issues you find, let us know. Thanks for reporting @ailishgraham !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants