convert CMHC data to long form with quality indicator

standardize_cmhc_data(data)

Arguments

data

cmhc data frame as returned by get_cmhc

Value

a long form data frame with values in Value column and quality indicators in Quality column

Examples

if (FALSE) {
query_params <- cmhc_timeseries_params(cmhc_table_list$`Rms Rent Change Time Series`,
                                       region=cmhc_region_params_from_census("59933"))
data <- get_cmhc(query_params)

d <- standardize_cmhc_data(data)

}