get_url.Rd
Convert file names to urls
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.
# get_url(find_file_name(1985))