Find a list of sensors in a specific area

find_sensors(nwlat, selat, nwlng, selng, api_key, location_type = 0)

Arguments

nwlat

North-west latitude

selat

South-east latitude

nwlng

North-west longitude

selng

South-east longitude

api_key

API key for PurpleAir

location_type

Location type (0 = outside, 1 = inside)

Value

A data frame with sensors information

References

Code adapted from Callahan J, Martin H, Wilson K, Brasel T, Miller H (2023). AirSensor: Process and Display Data from Air Quality Sensors. R package version 1.1.1, https://CRAN.R-project.org/package=AirSensor.