DOI-USGS / ds-pipelines-targets-example-wqp

An example targets pipeline for pulling data from the Water Quality Portal (WQP)
Other
10 stars 14 forks source link

Update regex when WQP is deployed to prod #89

Closed jordansread closed 2 years ago

jordansread commented 2 years ago

Deployment of the up to date services should be very soon (today?)

When that happens, we'll want to replace this with this:

  sitecounts_bad_ids <- sitecounts_df %>%
    rename(site_id = MonitoringLocationIdentifier) %>% 
    mutate(site_id_regex = stringr::str_extract(site_id, "[\\w]+.*[\\S]")) %>%
    filter(site_id != site_id_regex) %>%
    select(-site_id_regex)