powered by
Convert file names to urls
get_url( file_name = "", domain = "https://data.dft.gov.uk", directory = "road-accidents-safety-data" )
Optional file name to add to the url returned (empty by default)
The domain from where the data will be downloaded
The subdirectory of the url
This function returns urls that allow data to be downloaded from the pages:
https://data.dft.gov.uk/road-accidents-safety-data/RoadSafetyData_2015.zip
Last updated: October 2020. Files available from the s3 url in the default domain argument.
domain
# get_url(find_file_name(1985))
Run the code above in your browser using DataLab