Call sources for datacubes and datasets in 'many' packages
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.
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.
Details
call_sources()
displays sources of the datacubes and datasets
in 'many' packages.
Please declare package, datacube, and dataset
See also
Other call_:
call_packages()
,
call_releases()
,
call_treaties()
Examples
# \donttest{
call_sources("manydata", "emperors")
#> ℹ Please see manydata for more information.
#> # A tibble: 3 × 4
#> Dataset Source URL Mapping
#> <chr> <chr> <chr> <chr>
#> 1 wikipedia Wikipedia, List_of_Roman_emperors, https://en..org/w… http… from -…
#> 2 UNRV , Roman Emperor list, https://www.unrv.com/governmen… http… from -…
#> 3 britannica Britannica, List of Roman emperors, https://www..com… http… from -…
# }