Skip to content

Jakobbenisch/WU_scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

WU_scraper

R function to download data from weatherunderground

You need to register and create an API key at https://www.wunderground.com

Example on how to use the function:

start="2024-01-01"
end="2024-03-01"
output_path="your path"
api_key <- "your API key"
stations=c("IDRESD330","IDRESD25")
###you need to use WU map to find stations ID, e.g. here: https://www.wunderground.com/dashboard/pws/IDRESD322

for (station in 1:length(stations)){ weather_underground_data(start,end,station=stations[station],api_key,export_txt=T,output_path=output_path,verbose=T) }

About

R function to download data from weatherunderground

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published