Skip to contents

Compare dimensions for 'many' data

Usage

compare_dimensions(datacube, dataset = "all")

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.

Value

compare_dimensions() returns a tibble with information about each dataset including the number of observations, the number of variables, the earliest date, and the latest date in all observations.

Details

compare_dimensions() compares the number of observations, variables, the earliest date, and the latest date in all observations for datasets in a 'many' datacube.

Examples

# \donttest{
compare_dimensions(emperors)
#> # A tibble: 3 × 5
#>   Dataset    Observations Variables                    Earliest_Date Latest_Date
#>   <chr>      <chr>        <chr>                        <chr>         <chr>      
#> 1 wikipedia  68           ID, Begin, End, FullName, B… -26-01-16     395-01-17  
#> 2 UNRV       99           ID, Begin, End, Birth, Deat… -27-01-01     518-12-31  
#> 3 britannica 87           ID, Begin, End               -31-01-01     491-12-31  
# }