Description Usage Arguments Details Value API Documentation See Also Examples
View source: R/fredr_category_related.R
Get the related categories for a FRED category.
1 2 3 4 5 6 | fredr_category_related(
category_id,
...,
realtime_start = NULL,
realtime_end = NULL
)
|
category_id |
An integer ID for the category. Default is |
... |
These dots only exist for future extensions and should be empty. |
realtime_start |
A |
realtime_end |
A |
From the FRED API documentation: "A related category is a one-way relation between 2 categories that is not part of a parent-child category hierarchy. Most categories do not have related categories."
A tibble
object containing the name and parent ID for categories
related to the category indicated by category_id
.
fredr_category()
, fredr_category_children()
,
fredr_category_series()
, fredr_category_tags()
, fredr_category_related_tags()
1 2 3 4 | if (fredr_has_key()) {
# Categories related to the "Employment Cost Index" category
fredr_category_related(category_id = 4L)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.