Learn R Programming

fred (version 0.3.1)

fred_category_children: List child categories

Description

Returns the child categories for a given parent category.

Usage

fred_category_children(category_id = 0L)

Value

A data frame of child categories.

Arguments

category_id

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

See Also

Other categories: fred_category(), fred_category_series()

Examples

Run this code
# \donttest{
op <- options(fred.cache_dir = tempdir())
try({
  # Top-level categories
  fred_category_children()
})
options(op)
# }

Run the code above in your browser using DataLab