Skip to contents

Emshoff 91: remap values from imported tibble

Usage

emshoff91_remap_values(
  emshoff91_df,
  remap_list = list(fi_mi = "fi_mi_m_nn", ku_sto = "kupp_st", lf = "el_lf", progr =
    "beprob_progr", strat = "stratigr", uv254 = "uv_ext"),
  delete_cols = TRUE
)

Arguments

emshoff91_df

tibble as retrieved by emshoff91_list_to_df

remap_list

list with values to be remapped. Names of the list are columns values contained in list values should be mapped to (default: list(fi_mi = "fi_mi_m_nn", ku_sto = "kupp_st", lf = "el_lf", progr = "beprob_progr", strat = "stratigr", uv254 = "uv_ext"))

delete_cols

should unneeded columns be deleted, i.e. the ones where data where mapped from (default: TRUE)

Value

data frame with remapped values and deleted columns were this values were copied from (default: TRUE)