Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 54 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,60 @@ TADA.Rproj
.Rhistory
.Rapp.history

# Session Data files
.RData

# Temporary files created by R markdown
*.utf8.md
*.knit.md

# Session Data files
.RData

# tempdata folder files for TADABigdataRetrieval
AL_raw_data.rds
AR_raw_data.rds
AZ_raw_data.rds
CA_raw_data.rds
CO_raw_data.rds
CT_raw_data.rds
DC_raw_data.rds
DE_raw_data.rds
FL_raw_data.rds
GA_raw_data.rds
ID_raw_data.rds
IA_raw_data.rds
IL_raw_data.rds
IN_raw_data.rds
KS_raw_data.rds
KY_raw_data.rds
LA_raw_data.rds
ME_raw_data.rds
MD_raw_data.rds
MA_raw_data.rds
MI_raw_data.rds
MN_raw_data.rds
MS_raw_data.rds
MO_raw_data.rds
MT_raw_data.rds
NE_raw_data.rds
NV_raw_data.rds
NH_raw_data.rds
NJ_raw_data.rds
NM_raw_data.rds
NY_raw_data.rds
NC_raw_data.rds
ND_raw_data.rds
OH_raw_data.rds
OK_raw_data.rds
OR_raw_data.rds
PA_raw_data.rds
RI_raw_data.rds
SC_raw_data.rds
SD_raw_data.rds
TN_raw_data.rds
TX_raw_data.rds
UT_raw_data.rds
VT_raw_data.rds
VA_raw_data.rds
WA_raw_data.rds
WV_raw_data.rds
WI_raw_data.rds
WY_raw_data.rds
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,15 @@ Imports:
Depends:
R (>= 3.5.0)
Suggests:
remotes,
rlang,
tidyverse,
rmarkdown,
knitr,
rmarkdown,
testthat (>= 3.0.0),
usethis,
devtools,
pkgdown,
remotes,
Rcpp,
spelling
VignetteBuilder: knitr, rmarkdown
Expand Down
4 changes: 2 additions & 2 deletions R/DataDiscoveryRetrieval.R
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ TADAprofileCheck <- function(.data) {
#'
#' This function does multiple synchronous data calls to the WQP
#' (waterqualitydata.us). It uses the WQP summary service to limit the amount
#' downloaded to only relevant data, and pulls back data from 250 stations at a
#' downloaded to only relevant data, and pulls back data from 100 stations at a
#' time and then joins the data back together and produces a single TADA
#' compatible dataframe as the output. For large data sets, that can save a lot
#' of time and ultimately reduce the complexity of subsequent data processing.
Expand Down Expand Up @@ -435,7 +435,7 @@ TADABigdataRetrieval <- function(startDate = "null",
if(length(siteid_all) > 0) {

l=length(siteid_all) #len(sites)
g=250 #grouping size
g=100 #grouping size
nl=ceiling(l/g) #number of queries

i=0
Expand Down
Loading