compare_overlap: Compare the overlap between datasets in 'many' datacubes

View source: R/compare.R

compare_overlapR Documentation

Compare the overlap between datasets in 'many' datacubes

Description

Compare the overlap between datasets in 'many' datacubes

Usage

compare_overlap(datacube, dataset = "all", key = "manyID")

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.

key

A variable key to join datasets. 'manyID' by default.

Details

compare_overlap() compares the overlap between "key" observations in each dataset in a 'many' datacube.

Value

compare_overlap() returns a tibble with information about each dataset and the number of overlapping observations.

See Also

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

Examples


compare_overlap(emperors, key = "ID")
plot(compare_overlap(emperors, key = "ID"))


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