From 6fedc4a0060123673bb03d19abd249e536dbf761 Mon Sep 17 00:00:00 2001 From: Sam Oliver Date: Wed, 9 Oct 2019 13:40:44 -0500 Subject: [PATCH] described what errors these filters are accomodating. --- 1_wqp_pull/src/wqp_inventory.R | 1 + 1 file changed, 1 insertion(+) diff --git a/1_wqp_pull/src/wqp_inventory.R b/1_wqp_pull/src/wqp_inventory.R index bac7c05..3242c01 100644 --- a/1_wqp_pull/src/wqp_inventory.R +++ b/1_wqp_pull/src/wqp_inventory.R @@ -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)