get_administrations: Get administrations

View source: R/peekbankr.R

get_administrationsR Documentation

Get administrations

Description

Get administrations

Usage

get_administrations(
  age = NULL,
  dataset_id = NULL,
  dataset_name = NULL,
  connection = NULL
)

Arguments

age

A numeric vector of a single age or a min age and max age (inclusive), in months

dataset_id

An integer vector of one or more dataset ids

dataset_name

A character vector of one or more dataset names

connection

A connection to the peekbank database

Value

A 'tbl' of Administrations data, filtered down by supplied arguments. If 'connection' is supplied, the result remains a remote query, otherwise it is retrieved into a local tibble.

Examples

## Not run: 
get_administrations()
get_administrations(age = c())
get_administrations(dataset_name = "pomper_saffran_2016")

## End(Not run)

langcog/peekbankr documentation built on Dec. 19, 2024, 1:58 a.m.