Create a panel mapping

panel_mapping(df, waves, .schema = list())

Arguments

df

A data.frame that has variable mapping information

waves

A vector of all known waves recorded in the mapping file

.schema

A list of column names that outline the structure of the mapping file. default_panel_mapping_schema() has the default settings.