Skip to content

Instantly share code, notes, and snippets.

@tgh0831
Created November 8, 2016 20:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tgh0831/9ea36db643f1f6e298afda46a4f08474 to your computer and use it in GitHub Desktop.
Save tgh0831/9ea36db643f1f6e298afda46a4f08474 to your computer and use it in GitHub Desktop.
Uses Ram Narasimhan's weatherData package from GitHub (Ram-N/weatherData) to pull several weather observations from a personal weather station on Weather Underground over several days. The version of the package from CRAN currently does not support personal weather stations.
#need to install devtools to download and install package from GitHub
library(devtools)
install_github("weatherData", "Ram-N")
library(weatherData)
data1 <- getWeatherForDate("KTXSHINE2", station_type = "id", start_date="2016-11-01",
end_date = "2016-11-08",
opt_detailed = TRUE,
opt_all_columns = TRUE)
View(data1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment