Learn R Programming

petro.One (version 0.2.3)

remove_duplicates_by: Remove duplicate papers by a variable

Description

Duplicates are removed in a dataframe containing papers

Usage

remove_duplicates_by(df, by = "book_title")

Arguments

df

dataframe of papers

by

variable

Examples

Run this code
# NOT RUN {
major <- c("data driven")
minor <- c("drilling")
dd_drilling <- join_keywords(major, minor, get_papers = TRUE, sleep = 3,
                             verbose = FALSE)
remove_duplicates_by(dd_drilling$papers, by ="paper_id" )
# }

Run the code above in your browser using DataLab