View source: R/laus_get_areacode.R
laus_get_areacode | R Documentation |
Gathers the area code used in the laus_get_data function to acquire a data frame using the blsAPI function that request data through the U.S. Bureau of Labor Statistics API. The laus_get_areacode function is called by the laus_get_data function not the user.
laus_get_areacode(Location_Name)
Location_Name |
A string or vector of the different cities, states or metropolitan statistical areas you want LAUS data from |
type help_laus_areacodes() to get a list of all of the area names that area associated to an area code in the LAUS data
returns a string or vector representing area codes
library(blsAPI)
laus_get_areacode(Location_Name = c("Florida", "California",
"Charlotte County, FL", "Fresno County, CA"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.