tidy_periods | R Documentation |
Clean the period information returned by BLS
tidy_periods(table)
table |
a tibble of the |
tidy_periods
will return a tibble where the period and periodName columns
have been deleted and replaced. Monthly periodicity data will have a new
column month
and quarterly data will have a new column quarter
. Rows will
be sorted from oldest to newest.
a sorted tibble containing the period and the value
Other blsR-utils:
bls-api-key
,
data_as_table()
,
data_as_tidy_table()
,
merge_tables()
,
merge_tidy_tables()
,
reduce_spanned_responses()
,
span_request_queries()
,
span_series_request()
,
tidy_table_as_zoo()
## Not run:
series <- get_series('LNS14000001')
table <- data_as_table(series$data)
tidy_table <- tidy_periods(table)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.