sidra_periods: List the periods available for a SIDRA table

View source: R/discovery.R

sidra_periodsR Documentation

List the periods available for a SIDRA table

Description

List the periods available for a SIDRA table

Usage

sidra_periods(
  table,
  refresh = FALSE,
  cache = FALSE,
  ttl = 1800,
  cache_dir = NULL
)

Arguments

table

A single SIDRA table code.

refresh

A single logical value. When caching is enabled, bypass and replace an existing entry.

cache

A single logical value. Cache normalized catalog or metadata responses on disk. The default is FALSE, preserving live behavior.

ttl

A positive cache lifetime in seconds. The default is 30 minutes.

cache_dir

Optional cache directory. By default, the platform-specific user cache directory for sidrar is used.

Details

Data come from the official table-specific version 3 period endpoint. Period identifiers are kept as character strings so leading zeros and non-calendar codes cannot be lost.

Value

A base data.frame() with columns table_id, period_id, period_name, alternative_names, and modified. The alternative_names column is a base list-column of character vectors.

Author(s)

Renato Prado Siqueira rpradosiqueira@gmail.com

See Also

sidra_metadata()

Other SIDRA discovery functions: sidra_catalog(), sidra_locations(), sidra_metadata()

Examples

## Not run: 
sidra_periods(7060)

## End(Not run)

sidrar documentation built on Sept. 18, 2026, 9:14 a.m.