data_as_tidy_table | R Documentation |
Convert a list of data entries as returned by BLS API to a table
data_as_tidy_table(data, parse_values = TRUE)
data |
a list of individual datum entries as returned by the API |
parse_values |
optional boolean. If set to |
An extension of data_as_table
that replaces the BLS period
format by removing columns period
and periodName
and adding month
or
quarter
where appropriate.
tibble flattening data
into rows for entries and columns for fields
Other blsR-utils:
bls-api-key
,
data_as_table()
,
merge_tables()
,
merge_tidy_tables()
,
reduce_spanned_responses()
,
span_request_queries()
,
span_series_request()
,
tidy_periods()
,
tidy_table_as_zoo()
## Not run:
series <- get_series('LNS14000001')
table <- data_as_tidy_table(series$data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.