fred_category: Get a FRED category

View source: R/categories.R

fred_categoryR Documentation

Get a FRED category

Description

Returns information about a single category. The FRED category tree starts at category 0 (the root) and branches into 8 top-level categories: Money, Banking & Finance; Population, Employment & Labor Markets; National Accounts; Production & Business Activity; Prices; International Data; U.S. Regional Data; and Academic Data.

Usage

fred_category(category_id = 0L)

Arguments

category_id

Integer. The category ID. Default 0 (root).

Value

A data frame with category metadata.

See Also

Other categories: fred_category_children(), fred_category_series()

Examples


op <- options(fred.cache_dir = tempdir())
# Root category
fred_category()

# National Accounts (category 32992)
fred_category(32992)
options(op)


fred documentation built on March 19, 2026, 5:09 p.m.