Returns pdl_df with columns renamed, added and ordered to prepare the dataframe for inserting into the pdl_result table.

fix_pdl_csv_columns(pdl_df)

Arguments

pdl_df

dataframe as it comes from read.csv()