Created
February 7, 2014 14:50
-
-
Save statzhero/8863983 to your computer and use it in GitHub Desktop.
An R function for downloading CSV-files over SSL
This file contains 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
read.url <- function(url, ...){ | |
temporaryFile <- tempfile() | |
download.file(url, destfile = temporaryFile, method = "curl") | |
url.data <- read.csv(temporaryFile, ...) | |
return(url.data) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment