check_input_file: Local helper to be reused.

View source: R/read.R

check_input_fileR Documentation

Local helper to be reused.

Description

Local helper to be reused.

Usage

check_input_file(filename = NULL, type = NULL, data_dir = NULL, year = NULL)

Arguments

filename

Character string of the filename of the .csv to read.

type

One of 'collision', 'casualty', 'Vehicle'.

data_dir

Where sets of downloaded data would be found.

year

Single year for which data are to be read.


stats19 documentation built on March 18, 2026, 5:08 p.m.