Created
January 19, 2018 06:53
-
-
Save tomer-ben-david/97e76f4563da8db978f5594d48bd61ad to your computer and use it in GitHub Desktop.
R read csv from URL #R
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(RCurl) | |
library(bitops) | |
URL = "https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv" | |
x = getURL(URL) | |
out = read.csv(textConnection(x)) | |
head(out[1:6]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment