data_as_table: Convert a list of data entries as returned by BLS API to a table
Description
Convert a list of data entries as returned by BLS API to a table
Usage
data_as_table(data, parse_values = TRUE)
Value
tibble flattening data into rows for entries and columns for fields
Arguments
data
a list of individual datum entries as returned by the API
parse_values
optional boolean. If set to TRUE (default) it will
attempt to parse the contents of value and cast numeric strings as numeric
values. If set to FALSE it will retain value as a column of strings.