tidy_periods: Clean the period information returned by BLS
Description
Clean the period information returned by BLS
Usage
tidy_periods(table)
Value
a sorted tibble containing the period and the value
Arguments
table
a tibble of the data slot in a series
Details
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.