Remove duplicated rows created during the interpolation process

fg_remove_duplicates(
  df,
  cols = c("comparable_spell", "cpi", "display_cp", "gd_type", "interpolation_id",
    "path", "predicted_mean_ppp", "survey_acronym", "survey_comparability",
    "survey_coverage", "survey_id", "survey_mean_lcu", "survey_mean_ppp",
    "survey_median_lcu", "survey_median_ppp", "survey_time", "survey_year",
    "surveyid_year")
)

Arguments

df

data.table: Table of results created in fg_pip()

cols

character: Columns with potential duplicate values

Value

data.table