get_tables {danstat}R Documentation

Get a list of stables in the data bank

Description

Get a list of stables in the data bank

Usage

get_tables(
  subjects = NULL,
  pastdays = NA_integer_,
  include_inactive = FALSE,
  language = c("en", "da")
)

Arguments

subjects

Provide specific subject id's to get subtopics. E.g. subjects = c("02", "2419"). Can be retrieved with get_subjects()

pastdays

Return only tables which have been updated within this number of days

include_inactive

Whether to return tables that are no longer updated

language

Language for the return object. Default = "en"

Value

A data frame

Examples

# Get all tables
all_tables <- get_tables()

# Or get tables for specific subjects
some_tables <- get_tables(subjects = c("02", "2419"))

# Get all tables updated within the past 3 days
tables_past3days <- get_tables(pastdays = 3)

[Package danstat version 0.1.0 Index]