Description Usage Arguments Value API Documentation See Also Examples
View source: R/fredr_category.R
Get a FRED category
1 | fredr_category(category_id)
|
category_id |
An integer ID for the category. |
A tibble
object containing the name and parent ID for the category
indicated by category_id
.
fredr_category_children()
, fredr_category_related()
,
fredr_category_series()
, fredr_category_tags()
, fredr_category_related_tags()
1 2 3 4 5 6 | if (fredr_has_key()) {
# Root category
fredr_category(category_id = 0L)
# "Production & Business Activity" category
fredr_category(category_id = 1L)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.