Hi, and welcome!
Please see the FAQ: What's a reproducible example (`reprex`) and how do I do one? Using a reprex, complete with representative data will attract quicker and more answers. Screenshots are only useful as a shortcut to highlight something like an RStudio menu choice question. For data, they are seldom useful.
I can just barely make out the column names in the screenshot so I may be wrong. It appears that the source csv
file column names were numeric. That's a no-no in R, so read.csv
corrected it by prepending X1
and converting the result to character class.
One way to deal with this is to rename the columns in bulk with character names describing the type of data.
colnames(covid19) <- c("loc","nat_reg","lat","lng","pop", "gdp" ...)
( I'm a big fan of all lowercase and as short as possible to still show the data, but that's me.)