Skip to content

Commit 39898de

Browse files
authored
Merge pull request #125 from ropensci/50-v20-function-to-process-scopus-download-in-csv-format
sigh. commented out wrong section.
2 parents 1b8dc81 + 68fc010 commit 39898de

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

R/authors_match.R

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -96,21 +96,21 @@ authors_match <- function(data){
9696

9797

9898

99-
# # Count how many times each OI value appears
100-
# oi_counts <- table(n_n$OI)
101-
# # Find OI values with more than one RI
102-
# multiple_ri <- names(oi_counts[oi_counts > 1])
103-
# # ID the rows to remove
104-
# rows_to_remove_oi <- which(n_n$OI %in% multiple_ri)
105-
# # remove them
106-
# n_n_clean <- n_n[-rows_to_remove_oi, ]
107-
# # Find RI values with more than one OI
108-
# ri_counts <- table(n_n_clean$RI)
109-
# multiple_oi <- names(ri_counts[ri_counts > 1])
110-
# # Identify rows to remove
111-
# rows_to_remove_ri <- which(n_n_clean$RI %in% multiple_oi)
112-
# # Remove those rows
113-
# n_n_clean <-n_n_clean[-rows_to_remove_ri, ]
99+
# Count how many times each OI value appears
100+
oi_counts <- table(n_n$OI)
101+
# Find OI values with more than one RI
102+
multiple_ri <- names(oi_counts[oi_counts > 1])
103+
# ID the rows to remove
104+
rows_to_remove_oi <- which(n_n$OI %in% multiple_ri)
105+
# remove them
106+
n_n_clean <- n_n[-rows_to_remove_oi, ]
107+
# Find RI values with more than one OI
108+
ri_counts <- table(n_n_clean$RI)
109+
multiple_oi <- names(ri_counts[ri_counts > 1])
110+
# Identify rows to remove
111+
rows_to_remove_ri <- which(n_n_clean$RI %in% multiple_oi)
112+
# Remove those rows
113+
n_n_clean <-n_n_clean[-rows_to_remove_ri, ]
114114

115115

116116

0 commit comments

Comments
 (0)