DOI-USGS / dataRetrieval

This R package is designed to obtain USGS or EPA water quality sample data, streamflow data, and metadata directly from web services.
https://doi-usgs.github.io/dataRetrieval/
Other
260 stars 84 forks source link

readNWISsite #675

Closed fhmejia closed 1 year ago

fhmejia commented 1 year ago

What is your question? I am using the readNWISsite function, but I keep getting this error:

Error in (function (file, delim, quote = "\"", escape_backslash = FALSE, : unused argument (show_col_types = FALSE)

My code is the following: siteinfo<- readNWISsite(c("14144800","14144900","14145500","14147500","14148000"))

I am hoping to use this function with 200 sites, but I can't even get a few. What am I doing wrong?

Thanks!

ldecicco-USGS commented 1 year ago

Hmm, that code worked for me. My first suggestion would be to update all your packages, the error message sounds vaguely like it might be coming from the "readr" package.

The easiest way to update (if you are using RStudio) is to go to the Package tab, and click the Update button.

image

If that doesn't solve the problem, could you let me know what you see when you run:

sessionInfo()
fhmejia commented 1 year ago

Thank you!! updating the readr package solve my problem!!!