Learn R Programming

trendseries (version 1.1.0)

list_datasets: List Available Datasets

Description

Returns a tibble with metadata for all datasets included in the trendseries package.

Usage

list_datasets()

Arguments

Value

A tibble with the following columns:

name

Dataset name

description

Brief description of the dataset

frequency

Data frequency (D = daily, M = monthly, Q = quarterly)

n_obs

Number of observations

first_date

First observation date

last_date

Last observation date

value_cols

Main value column(s) in the dataset

source

Data source

Examples

Run this code
# List all available datasets
list_datasets()

# Filter for monthly data
list_datasets() |>
  dplyr::filter(frequency == "M")

Run the code above in your browser using DataLab