For a given water system ID (psid), returns all the analytes with their date range and number of records

get_analyte_summary(psid)

Arguments

psid

water system id

Examples

get_analyte_summary("0105009")
#> # A tibble: 5 x 6 #> psid storet analyte start_date end_date n #> <chr> <chr> <chr> <date> <date> <int> #> 1 0105009 00618 NITRATE (AS N) 2020-03-18 2020-03-18 1 #> 2 0105009 00620 NITRITE (AS N) 2020-03-18 2020-03-18 1 #> 3 0105009 01002 ARSENIC 2015-03-24 2015-09-22 3 #> 4 0105009 01032 CHROMIUM, HEXAVALENT 2015-03-24 2015-09-23 3 #> 5 0105009 71850 NITRATE (AS NO3) 2015-03-24 2015-06-08 2