After choosing a name for keywords that have more than one in a spreadsheet, join those results back in. This step also fixes cases where the same keyword is given more than one rank (this is just an error in the data).
nyt_fix_keywords( consolidated_unnested_df, multi_names_output_folder = "single_named_values" )
consolidated_unnested_df | output of |
---|---|
multi_names_output_folder | folder to find corrected keyword values csv |
an unnested df with consolidated, non-duplicate keyword values and names
if (FALSE) { unnested_df_values_fixed <- nyt_fix_keywords(consolidated_unnested_df) }