dedupe_album_names: Remove duplicate album names

View source: R/utils.R

dedupe_album_namesR Documentation

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"
)

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

Value

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


spotifyr documentation built on Oct. 30, 2024, 9:13 a.m.