get_stats19_adjustments | R Documentation |
See the DfT's documentation on adjustment factors Annex: Update to severity adjustments methodology.
get_stats19_adjustments(
data_dir = get_data_directory(),
u = paste0("https://data.dft.gov.uk/road-accidents-safety-data/",
"dft-road-casualty-statistics-casualty-adjustment-lookup_",
"2004-latest-published-year.csv")
)
data_dir |
Where sets of downloaded data would be found. |
u |
The URL of the zip file with adjustments to download |
See Estimating and adjusting for changes in the method of severity reporting for road accidents and casualty data: final report for details.
if(curl::has_internet()) {
adjustment = get_stats19_adjustments()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.