I scraped this data from a json file which feeded an interactive graphic.
json
df <- structure(list(x = c(\"Iraq\", \"Syria\"), Aug. = c(\"120\", \"12
To change the column names of a data frame, you can do this:
# Example data frame x <- as.data.frame( matrix(letters[1:10], nrow = 2) ); # Change names of columns 2-5 colnames(x)[2:5] <- paste0(colnames(x)[2:5], 1:4); # Change all column names colnames(x) <- paste0(colnames(x), 1:5);