metadata_list {codebook}R Documentation

Metadata from dataframe

Description

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

Usage

metadata_list(results, only_existing = TRUE)

Arguments

results

a data frame, ideally with attributes set on variables

only_existing

whether to drop helpful metadata to comply with the list of currently defined schema.org properties

Examples

data("bfi")
md_list <- metadata_list(bfi)
md_list$variableMeasured[[20]]

[Package codebook version 0.9.2 Index]