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>                        <mdate>       <mdate>    
#> 1 wikipedia  68           ID, Begin, End, FullName, B… -0026-01-16   0014-08-19 
#> 2 UNRV       99           ID, Begin, End, Birth, Deat… -14-01-01     -27-12-31  
#> 3 britannica 87           ID, Begin, End               -31-01-01     14-12-31   
# }