call_sources: Call sources for datacubes and datasets in 'many' packages

View source: R/call.R

call_sourcesR Documentation

Call sources for datacubes and datasets in 'many' packages

Description

Call sources for datacubes and datasets in 'many' packages

Usage

call_sources(
  package,
  datacube,
  dataset = NULL,
  open_script = FALSE,
  open_codebook = FALSE
)

Arguments

package

A character vector of package name. For multiple packages, please declare package names as a vector (e.g. c("package1", "package2")).

datacube

A datacube from one of the many packages.

dataset

A dataset in a datacube from one of the many packages. NULL by default. That is, all datasets in the datacube are used. For multiple datasets, please declare datasets as a vector (e.g. c("dataset1", "dataset2")).

open_script

Would you like to open the preparation script for the dataset? By default false.

open_codebook

Would you like to open the codebook for the dataset? By default false.

Details

call_sources() displays sources of the datacubes and datasets in 'many' packages. Please declare package, datacube, and dataset

Value

call_sources returns a tibble with information on the dataset, their sources, URL, and mapping to facilitate understanding variable name changes from original data.

See Also

Other call_: call_packages(), call_releases(), call_treaties()

Examples


call_sources("manydata", "emperors")


globalgov/qData documentation built on Feb. 23, 2024, 4:16 a.m.