fredr_release_tables {fredr}R Documentation

Get release table trees for a given release

Description

You can go directly to the tree structure by passing the appropriate element_id. You may also use a drill-down approach to start at the root (top most) element by leaving the element_id off.

Usage

fredr_release_tables(
  release_id,
  ...,
  element_id = NULL,
  include_observation_values = NULL,
  observation_date = NULL
)

Arguments

release_id

An integer ID of the release.

...

These dots only exist for future extensions and should be empty.

element_id

An integer ID for the desired release table element.

include_observation_values

A boolean indicating if observations should be returned with the release table element. Observations will only be returned for a series type element. Default is FALSE.

observation_date

A Date indicating which observation date to include with the release table. Default is 9999-12-31 (latest date available).

Value

A tibble object with nested results.

API Documentation

fred/release/tables

See Also

fredr_releases(), fredr_release_dates(), fredr_releases_dates(), fredr_release(), fredr_release_series(), fredr_release_sources(), fredr_release_tags(), fredr_release_related_tags()

Examples

if (fredr_has_key()) {
fredr_release_tables(release_id = 10L)

# Digging further into a release element
fredr_release_tables(release_id = 53L, element_id = 12886)
}

[Package fredr version 2.1.0 Index]