Some statistical agencies make a final revision of their data after a certain period of time in a give month in the year. This function extracts values from a given month or quarter a specified number of years after the initial release.
Arguments
- df
A data frame containing columns
pub_date(publication date) andtime(observation date).- years
The integer number of unrestricted years after
pub_datefor which the values should be extracted.- month
An optional parameter specifying the target month as a name ("July") or an integer (7). Cannot be used with
quarter.- quarter
An optional parameter specifying the target quarter (1-4). Cannot be used with
month.
See also
Other revision utilities:
get_days_to_release(),
get_first_release(),
get_latest_release(),
get_nth_release(),
get_releases_by_date(),
get_revisions()
