| get_bed_detail | R Documentation | 
Download BED dataset directly from the BLS website
get_bed_detail(seasonaladj = "S", msa = "00000", state = "00",
  county = "000", industry = "000000", unitanalysis = 1,
  dataelement = 2, sizeclass = "00", dataclass = "07",
  ratelevel = "L", periodicity = "Q", ownership = 5, download = F,
  read = F, path_data = "./")
seasonaladj | 
 seasonality adjustment of the data; S (default) or U  | 
msa | 
 msa code; 00000 (default) for national  | 
state | 
 state code; 00 (default) for national  | 
county | 
 county code; 000 (default) for national  | 
industry | 
 industry code; 000000 (default) for total private. See docs for industry classifications  | 
unitanalysis | 
 unit of observation; 1 (default) for establishment  | 
dataelement | 
 which type of date; 2 (default) number of establishments, 1 employment  | 
sizeclass | 
 firm size class; 00 (default) for all  | 
dataclass | 
 for type of information; 07 (default) for Establishment Births, 01 Gross Job Gains, 02 Expansions, 03 Openings, 04 Gross Job Losses, 05 Contractions, 06 Closings, 07 Establishment Births, 08 Establishment Deaths  | 
ratelevel | 
 for type of statistics; L (default) for level, R for rate  | 
periodicity | 
 for sampling frequency; Q (default) for quarterly, A for annual  | 
ownership | 
 for type of ownership; 5 (default) for private sector  | 
download | 
 requires download confirmation  | 
read | 
 FALSE is default, read RDS files if available (faster than downloading 200Mb file)  | 
path_data | 
 where does the download happen: default current directory  | 
dt_final
## Not run: 
  dt_bed <- get_bed_detail(download = T);
  
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.