tidy_qcew_year | R Documentation |
Tidying the dataset for regression use (or merge): operate year by year to keep memory to manageable levels.
tidy_qcew_year(dt, frequency = "all", industry = "naics",
verbose = TRUE)
dt |
input dataset from get_qcew_cut |
frequency |
download either quarterly, monthly or all data |
industry |
download naics or sic data |
verbose |
do we print the years to see how fast we are going |
data.table dt_res
returns a data.table file that is formatted according to tidy standard typically this will be year x sub_year (quarter or month) x size x own_code x industry the file can be aggregated as such I do not download all the information (some location quotients and taxes are forgotten)
## Not run:
dt_tidy <- tidy_qcew_year(dt, frequency = "all", industry = "naics")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.