stations = read.csv("stations.csv") # or use e.g. stations = read.csv(file.choose()) lapply(stations, class) slf_ams = read.csv("slf_ams.csv") lapply(slf_ams, class) # give temperature a decent name: slf_ams$temp = as.numeric(slf_ams$X07.lufttemperatur...c.)