powered by
Reconstructs URLs to retrieve data from here: https://waterdata.usgs.gov/nwis/wu
constructUseURL(years, stateCd, countyCd, categories)
integer Years for data retrieval. Must be years ending in 0 or 5, or "ALL", which retrieves all available years.
could be character (full name, abbreviation, id), or numeric (id)
could be numeric (County IDs from countyCdLookup) or character ("ALL")
character Two-letter cateogory abbreviation(s)
url string
# NOT RUN { url <- constructUseURL(years=c(1990,1995),stateCd="Ohio",countyCd = c(1,3), categories = "ALL") # }
Run the code above in your browser using DataLab