How to convert to a time series and plot a dataframe with each day as a variable or column?
问题 I am trying to get a plot of the number of Cov-19 in Italy over time, and came across this repository in GitHub, and tried to subset the data for Italy as such: require(RCurl) require(foreign) x = getURL("https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_19-covid-Confirmed.csv") corona = read.csv(text = x, sep =",",header = T) str(corona) Italy <- corona[,corona$Country.Region=='Italy'] Italy <- corona[corona$Country