Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fredr_category

Get a FRED category


Description

Get a FRED category

Usage

fredr_category(category_id)

Arguments

category_id

An integer ID for the category.

Value

A tibble object containing the name and parent ID for the category indicated by category_id.

API Documentation

See Also

Examples

if (fredr_has_key()) {
# Root category
fredr_category(category_id = 0L)
# "Production & Business Activity" category
fredr_category(category_id = 1L)
}

fredr

An R Client for the 'FRED' API

v2.1.0
MIT + file LICENSE
Authors
Sam Boysel [aut, cre], Davis Vaughan [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.