Powered by AppSignal & Oban Pro
Would you like to see your link here? Contact us

Wiggling with GBIF taxonomic backbone

gbif_taxonomic_backbone.livemd

Wiggling with GBIF taxonomic backbone

Mix.install([
  {:explorer, "~> 0.7.2"},
  {:kino_explorer, "~> 0.1.13"},
  {:req, "~> 0.4.14"}
])

Section

require Explorer.DataFrame, as: DF
# file = File.read!("https://github.com/tdwg/dwc/blob/master/vocabulary/term_versions.csv")
file = Req.get!("https://raw.githubusercontent.com/tdwg/dwc/master/vocabulary/term_versions.csv")

taxonomy = DF.load_csv!(file.body, delimiter: ",", eol_delimiter: "\n")
taxonomy |> DF.lazy() |> DF.filter(contains(term_localName, "Identif"))