View source: R/RailDataPortal.R
nrdp_routing | R Documentation |
Downloads routing from https://opendata.nationalrail.co.uk
nrdp_routing(
destfile = "routeing.zip",
username = Sys.getenv("NRDP_username"),
password = Sys.getenv("NRDP_password"),
url = "https://opendata.nationalrail.co.uk/api/staticfeeds/2.0/routeing"
)
destfile |
Detestation and name of the zip file |
username |
your username |
password |
your password |
url |
URL of data source |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.