tidy_table_as_zoo | R Documentation |
Convert a single series or n series tables into a zoo object
tidy_table_as_zoo(table, index_function = .zoo_index_function)
table |
a table of results |
index_function |
optional closure. The closure argument is the |
A utility function to easily convert retrieved BLS series into
zoo
or xts
objects.
a zoo
object
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_periods()
## Not run:
series <- get_series('LNS14000001')
table <- data_as_tidy_table(series$data)
zoo_obj <- tidy_table_as_zoo(table)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.