Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
described what errors these filters are accomodating.
Browse files Browse the repository at this point in the history
  • Loading branch information
limnoliver committed Oct 9, 2019
1 parent 24b2318 commit 6fedc4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 1_wqp_pull/src/wqp_inventory.R
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ partition_wqp_inventory <- function(partitions_ind, wqp_pull_params, inventory_i
filter(!(ResolvedMonitoringLocationTypeName %in% wqp_pull_params$DropLocationTypeName))

# filter out bad org names
# these orgs cause "Frequest failed [400]" errors
bad_orgs <- grep(' |\\.|/', wqp_inventory$OrganizationIdentifier, value = TRUE)
bad_orgs_sites <- filter(wqp_inventory, OrganizationIdentifier %in% bad_orgs)

Expand Down

0 comments on commit 6fedc4a

Please sign in to comment.