diff --git a/vignettes/dataRetrieval.Rnw b/vignettes/dataRetrieval.Rnw index 559db31e30cc7bd8994897b5d9ab02484772eeb8..8dea3c455e9864b7aaf3b5be60b7ceaf0881fad8 100644 --- a/vignettes/dataRetrieval.Rnw +++ b/vignettes/dataRetrieval.Rnw @@ -472,12 +472,12 @@ temperatureAndFlow <- readNWISdv(siteNumber, parameterCd, Daily data is pulled from \url{http://waterservices.usgs.gov/rest/DV-Test-Tool.html}. -The column names can be automatically adjusted based on the parameter and statistic codes using the \texttt{renameColumns} function. This is not necessary, but may be useful when analyzing the data. +The column names can be automatically adjusted based on the parameter and statistic codes using the \texttt{renameNWISColumns} function. This is not necessary, but may be useful when analyzing the data. <<label=renameColumns, echo=TRUE>>= names(temperatureAndFlow) -temperatureAndFlow <- renameColumns(temperatureAndFlow) +temperatureAndFlow <- renameNWISColumns(temperatureAndFlow) names(temperatureAndFlow) @