Retrieve a metadata file with from your data directory or the temporary directory of your current R session.

gesis_metadata_create(dat)

Arguments

zacat_id

For example, "ZA5688_v6-0-0", as analyzed and saved by analyze_gesis_file. Defaults to "last_data_frame", which is the last file in the temporary directory of the current session.

data_dir

Defaults to "NULL". In this case the "tempdir()" of your current R session will be used.

Value

A data frame with the original file names, the suggested canonical names, factor lists, suggested class conversions.

See also

canonical_name_create

Examples

if (FALSE) { ##use your own file: gesis_metadata_get( zacat_id = "ZA5688", data_dir = "data-raw/") }