View source: R/laus_get_measure.R
laus_get_measure | R Documentation |
Gathers the measure 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_measure(measure)
measure |
a string containing the desired measure. Exs: unemployment rate, labor force, employment, etc. |
See <https://download.bls.gov/pub/time.series/la/la.measure> to see the format of the strings used in the measure param found in the measure_text column
returns a string representing a measure code
library(blsAPI)
laus_get_measure("unemployment rate")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.