Skip to contents

Import raw enterococcus data

Usage

read_pepent()

Value

data.frame

Details

Data are from the ArcGIS REST Services here https://gis.suffolkcountyny.gov/hosted/rest/services/Hosted/Beach_Water_Quality_Data/FeatureServer/.

The API is queried by beach names in the beaches data object. The queries are done individually for each beach to not exceed the 2000 record limit.

Examples

if (FALSE) {
entdat <- read_pepent()
}
head(entdat)
#>                    Name FieldNum                Date value status
#> 1 Alberts Landing Beach      EH7 2010-06-29 19:00:00     4      <
#> 2 Alberts Landing Beach      EH7 2010-07-27 19:00:00     4      <
#> 3 Alberts Landing Beach      EH7 2010-08-13 19:00:00    28      =
#> 4 Alberts Landing Beach      EH7 2011-06-22 19:00:00     4      <
#> 5 Alberts Landing Beach      EH7 2011-07-20 19:00:00     4      <
#> 6 Alberts Landing Beach      EH7 2011-08-17 19:00:00     4      <