Clean the CBP
tidy_cbp(dt_raw = NULL, industry = c(2, 3, 4), year_start = 1996, year_end = 2013)
| dt_raw | data we start with. |
|---|---|
| industry | which level industries should be included (vector, NULL for all) |
| year_start | year starting data (>=1986) |
| year_end | year ending data (<=2013) |
data.table
Tidy up the CBP data into year state county industry dataset