Removing duplicated column characters of dataset in r
问题 I am new to r and I have problems with removing duplicated characters. Here is my code: library(RCurl) x <- getURL("https://raw.githubusercontent.com/eparker12/nCoV_tracker/master/input_data/coronavirus.csv") y <- read.csv(text = x) z <- duplicated(y$jhuID) I tried something like z <- ... but it did not work. For the column jhuID in the dataframe it is the class character but there are many name of countries that repeat multiple times and my goal is to delete those duplicated name of country