Description Usage Arguments Details Examples
Convert file names to urls
1 2 3 | get_url(file_name = "",
domain = "http://data.dft.gov.uk.s3.amazonaws.com",
directory = "road-accidents-safety-data")
|
file_name |
Optional file name to add to the url returned (empty by default) |
domain |
The domain from where the data will be downloaded |
directory |
The subdirectory of the url |
This function returns urls that allow data to be downloaded from the pages:
http://data.dft.gov.uk/road-accidents-safety-data/road-accidents-safety-data/RoadSafetyData_2015.zip
http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafety_Accidents_2016
Last updated: 22nd Nov 2018.
Files available from the s3 url in the default domain
argument.
1 | # get_url(find_file_name(1985))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.