powered by
Get the child categories for a specified FRED parent category
fredr_category_children(category_id = 0L, realtime_start = NULL, realtime_end = NULL)
An integer ID for the category. Default is 0 for the root category. Required parameter.
0
A Date indicating the start of the real-time period. Defaults to today's date. For more information, see Real-Time Periods.
Date
A Date indicating the end of the real-time period. Defaults to today's date. For more information, see Real-Time Periods.
A tibble object containing the name and ID for the children categories of the parent category indicated by category_id.
tibble
category_id
fred/category/children
fredr_category(), fredr_category_related(), fredr_category_series(), fredr_category_tags(), fredr_category_related_tags()
fredr_category()
fredr_category_related()
fredr_category_series()
fredr_category_tags()
fredr_category_related_tags()
# NOT RUN { # Children of the root category fredr_category_children(category_id = 0L) # Children of the "Production & Business Activity" category fredr_category_children(category_id = 1L) # }
Run the code above in your browser using DataLab