compare_ranges: Compare ranges of variables in 'many' data

View source: R/compare.R

compare_rangesR Documentation

Compare ranges of variables in 'many' data

Description

Compare ranges of variables in 'many' data

Usage

compare_ranges(datacube, dataset = "all", variable)

Arguments

datacube

A datacube from one of the many packages.

dataset

A dataset in a datacube from one of the many packages. By default, "all". That is, all datasets in the datacube are used. To select two or more datasets, please declare them as a vector.

variable

Please declare a variable present in one or more datasets in the 'many' datacube. For multiple variables, please declare variable names as a vector.

Details

compare_ranges() compares the number of observations, variables, the earliest and latest date in each dataset in a 'many' datacube.

Value

compare_ranges() returns a tibble with information about the minimal, maximal, average, and median values for selected variables in datacubes.

See Also

Other compare_: compare_categories(), compare_dimensions(), compare_missing(), compare_overlap()

Examples


compare_ranges(emperors, variable = c("Begin", "End"))


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