get_stats19_adjustments {stats19} | R Documentation |
Download and read-in severity adjustment factors
Description
See the DfT's documentation on adjustment factors Annex: Update to severity adjustments methodology.
Usage
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")
)
Arguments
data_dir |
Where sets of downloaded data would be found. |
u |
The URL of the zip file with adjustments to download |
Details
See Estimating and adjusting for changes in the method of severity reporting for road accidents and casualty data: final report for details.
Examples
if(curl::has_internet()) {
adjustment = get_stats19_adjustments()
}
[Package stats19 version 3.0.3 Index]