Description Usage Arguments Value
This function processes the downloaded CPB data and generates a long panel data set. The data frame contains the following columns
fips
the fips code
fipsstate
the state fips code
fipscty
the county fips code within the state
year
the year of observation
est
the number of establishments
n1_4
the number of establishments with between 1 and 4 employees
n5_9
the number of establishments with between 5 and 9 employees
n10_19
... with between 10 and 19 employees
n20_49
... with between 20 and 49 employees
n50_99
... with between 50 and 99 employees
n100_249
... with between 100 and 249 employees
n250_499
... with between 250 and 499 employees
n500_999
... with between 500 and 999 employees
n1000plus
... with between more than 1000 employees
1 2 | getFirmCount(naics, years = c("09", "08", "07", "06", "05", "04", "03", "02",
"01", "00"))
|
naics |
a string with the naics code of the industry |
years |
a vector of strings with the last two digits of years for which to process the data |
a data frame of a long panel with the CPB data on the county level
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.