# Using Digital Ocean data archive
library(AirSensor)
setArchiveBaseUrl("http://165.232.140.3/PurpleAir/v1")
pas <- pas_load()
pas %>% pas_filter(stateCode == "CA") %>% pas_leaflet()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.