Read a CSV from github into R

Try this: library(RCurl) x <- getURL(“https://raw.github.com/aronlindberg/latent_growth_classes/master/LGC_data.csv”) y <- read.csv(text = x) You have two problems: You’re not linking to the “raw” text file, but Github’s display version (visit the URL for https:\raw.github.com….csv to see the difference between the raw version and the display version). https is a problem for R in many cases, so you … Read more