## These examples are taken from the sample code examples found at:
## http://www.bls.gov/cew/doc/access/data_access_examples.htm
## Area Data Request
## Required parameters are:
## * year
## * quarter
## * area
## Example: Request the first quarter of 2013 for the state of Michigan
MichiganData <- blsQCEW('Area', year='2013', quarter='1', area='26000')
## Industry Data Request
## Required parameters are:
## * industry
## * quarter
## * area
## Example: Request Construction data for the first quarter of 2013
Construction <- blsQCEW('Industry', year='2013', quarter='1', industry='1012')
## Size Data Request
## * size
## * year
## Example: Request data for the first quarter of 2013 for establishments with
## 100 to 249 employees
SizeData <- blsQCEW('Size', year='2013', size='6')Run the code above in your browser using DataLab