#Download data for US precipitation in the 1990s
vals = wiDB_data(minDate = "1990-01-01", maxDate = "2000-01-01",
countries = "US", types = "Precipitation")
#Download data for US Rivers and streams, requesting a subset of data fields
vals = wiDB_data(minDate = "1980-01-01", maxDate = "2000-01-01",
countries = "US", types = "River_or_stream",
fields = c("Site_Name", "Latitude", "Longitude", "d2H"))
Run the code above in your browser using DataLab