R/01-utils.R
madshapR_DEMO.Rd
Demo datasets and data dictionaries, and taxonomy, to provide illustrative examples of objects used by madshapR.
madshapR_DEMO
list
A list with 12 elements (data frames and lists) providing example objects for testing the package:
Example Data dictionary for Melbourne dataset
Example Data dictionary for Paris dataset
Example Data dictionary for Paris with collapsed categories
Example Data dictionary for Tokyo dataset
Data dictionary for Tokyo dataset with errors
Example Data Dictionary for Tokyo dataset with errors with Tokyo dataset
Example Dataset for MELBOURNE dataset
Example Dataset for PARIS dataset
Example Dataset for TOKYO dataset
Example dataset of Tokyo with errors with Tokyo data dictionary
Example Taxonomy for Paris dataset
Example of dataset summary
{
print(madshapR_DEMO$dataset_TOKYO)
}
#> # A tibble: 50 × 9
#> part_id gndr height weight_ms weight_dc dob prg_ever empty opentext
#> <chr> <chr> <dbl> <dbl> <dbl> <chr> <dbl> <lgl> <chr>
#> 1 ID001 Male 191 63 NA 3/22/1990 -7 NA All chil…
#> 2 ID002 Female 176 NA 65 8/15/2001 0 NA grow up,…
#> 3 ID003 Female 154 NA 121 12/17/1996 2 NA years ol…
#> 4 ID004 Female 167 -88 NA 6/13/1990 1 NA flower a…
#> 5 ID005 Female 185 NA 45 12/17/1996 8 NA rather d…
#> 6 ID006 -77 171 57 NA 3/31/1981 -7 NA cried, O…
#> 7 ID007 Female 185 NA 58 4/19/1988 9 NA that pas…
#> 8 ID008 Female 171 NA 59 NA 2 NA that she…
#> 9 ID009 -77 169 52 NA 3/14/1976 -7 NA beginnin…
#> 10 ID010 Male 179 NA 62 10/19/1993 -7 NA All chil…
#> # ℹ 40 more rows