Learn R Programming

spotifyr (version 2.2.4)

dedupe_album_names: Remove duplicate album names

Description

Use fuzzy matching to remove duplicate album names (including reissues, remasters, etc).

Usage

dedupe_album_names(
  df,
  album_name_col = "album_name",
  album_release_year_col = "album_release_year"
)

Value

The original data frame with distinct album_name rows, keeping as much as possible the original album release (and not re-releases.)

Arguments

df

Data frame with album name

album_name_col

String of field name containing album names

album_release_year_col

String of field name containing album release year