Returns a list containing variable metadata (attributes) and data summaries.

metadata_list(results)

Arguments

results

a data frame, ideally with attributes set on variables

Examples

data("bfi") md_list <- metadata_list(bfi) md_list$variableMeasured[[20]]
#> $name #> [1] "N5" #> #> $data_summary #> # A tibble: 1 x 12 #> missing complete n mean sd p0 p25 p50 p75 p100 hist #> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> #> 1 29 2771 2800 2.97 1.62 1 2 3 4 6 ▇▇▁▅▆▁▃▃ #> # ... with 1 more variable: `@type` <chr> #> #> $value #> [1] "Number" #> #> $`@context` #> $`@context`$`@vocab` #> [1] "http://pending.schema.org/" #> #> #> $`@type` #> [1] "propertyValue" #>