Man pages for stats19
Work with Open Road Traffic Casualty Data from Great Britain

accidents_sampleSample of stats19 data (2017 accidents)
casualties_sampleSample of stats19 data (2017 casualties)
check_input_fileLocal helper to be reused.
check_yearcheck and convert year argument
dl_stats19Download STATS19 data for a year or range of two years.
file_namesstats19 file names for easy access
find_file_nameFind file names within stats19::file_names.
format_accidentsFormat STATS19 'accidents' data
format_casualtiesFormat STATS19 casualties
format_column_namesFormat column names of raw STATS19 data
format_pppConvert STATS19 data into ppp (spatstat) format.
format_sfFormat convert STATS19 data into spatial (sf) object
format_vehiclesFormat STATS19 vehicles data
get_data_directoryGet data download dir
get_MOTDownload vehicle data from the DVSA MOT API using VRM.
get_stats19Download, read and format STATS19 data in one function.
get_urlConvert file names to urls
locate_filesLocate a file on disk
locate_one_filePin down a file on disk from four parameters.
phraseGenerate a phrase for data download purposes
police_boundariesPolice force boundaries in England (2016)
read_accidentsRead in STATS19 road safety data from .csv files downloaded.
read_casualtiesRead in STATS19 road safety data from .csv files downloaded.
read_vehiclesRead in stats19 road safety data from .csv files downloaded.
schema_originalSchema for stats19 data (UKDS)
select_fileInteractively select from options
set_data_directorySet data download dir
stats19_schemaStats19 schema and variables
vehicles_sampleSample of stats19 data (2017 vehicles)
stats19 documentation built on March 26, 2020, 7:38 p.m.