fredr_category_children {fredr} | R Documentation |
Get the child categories for a specified FRED parent category
Description
Get the child categories for a specified FRED parent category
Usage
fredr_category_children(
category_id,
...,
realtime_start = NULL,
realtime_end = NULL
)
Arguments
category_id |
An integer ID for the category. |
... |
These dots only exist for future extensions and should be empty. |
realtime_start |
A |
realtime_end |
A |
Value
A tibble
object containing the name and ID for the children
categories of the parent category indicated by category_id
.
API Documentation
See Also
fredr_category()
, fredr_category_related()
,
fredr_category_series()
, fredr_category_tags()
,
fredr_category_related_tags()
Examples
if (fredr_has_key()) {
# Children of the root category
fredr_category_children(category_id = 0L)
# Children of the "Production & Business Activity" category
fredr_category_children(category_id = 1L)
}
[Package fredr version 2.1.0 Index]