Identify Scales
identify_scales.Rd
Identifies time scales (wk, mo, qr, yr) and location types (province or country) within a tidy dataset.
Usage
identify_scales(
data,
location_type_fixer = canada_province_scale_finder,
time_scale_identifier = identify_time_scales
)
Arguments
- data
Data frame in IIDDA tidy format to add time scale and location scale information.
- location_type_fixer
Function that takes a data frame in IIDDA tidy format and adds or fixes the `location_type` field.
- time_scale_identifier
Function that takes a data frame in IIDDA tidy format and adds the `time_scale` field.