get_area: Get QCEW Data by Area

Description Usage Arguments Value Examples

View source: R/qcew.R

Description

A function takes a year, quarter, and area argument and returns a data frame containing the associated area data.

Usage

1
get_area(year, qtr, area)

Arguments

year

(character, or numeric) Possible values: "1990", "1991", ..., "2015".

qtr

(character, or numeric) Possible values: "1", "2", "3", "4", and "a" for annual average.

area

(character, or numeric) Possible values: http://www.bls.gov/cew/doc/titles/area/area_titles.htm

Value

Return a tibble, i.e., modern data frame.

Examples

1
2
3
4
5
## Not run: 
michigan_data = qcewAPI::get_area("2013", "a", "26000")
michigan_data = qcewAPI::get_area(2013, "a", 26000)

## End(Not run)

jjchern/qcewAPI documentation built on May 19, 2019, 11:39 a.m.