Load PurpleAir sensors history data

request_sensors_history(
  nwlat,
  selat,
  nwlng,
  selng,
  location_type = 0,
  start_ts,
  end_ts,
  api_key,
  average = "60",
  fields = "temperature, humidity"
)

Arguments

nwlat

North-west latitude

selat

South-east latitude

nwlng

North-west longitude

selng

South-east longitude

location_type

Location type

start_ts

Start timestamp

end_ts

End timestamp

api_key

API key for PurpleAir

average

Average time in minutes

fields

Fields to be included in the data

Value

A data frame with sensors history data