Skip to content

Instantly share code, notes, and snippets.

@dholstius
Last active October 19, 2019 03:26
Show Gist options
  • Save dholstius/0d64a2915744ff0818c6c551f2ea5eea to your computer and use it in GitHub Desktop.
Save dholstius/0d64a2915744ff0818c6c551f2ea5eea to your computer and use it in GitHub Desktop.
DataBank: Find Pollutant Metadata for "Diesel PM"
#
# Turns out that #1350 is the DataBank ID for "Diesel PM".
#
# Here's an "old-school" way to figure that out.
# t0064 contains pollutant metadata.
#
library(Ingres)
help(t0064) # here's some Orange Binder material
view(t0064) # type "Diesel" in the search box (upper right)
#
# Here's a more current take (2019-09-27).
#
library(DataBank)
DB_find_pollutants("Diesel") %>%
with_pollutant_toxicity_factors() %>%
view()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment