Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.31 KB

hosts.md

File metadata and controls

39 lines (31 loc) · 1.31 KB
klass title description layout composition
insect-hosts-map
Hosts
We publish open data
compose
type
pageMarkdown

Let's grab the host plant names available from Sangmi's list (https://gelechiidae.hp.gbif-staging.org/taxonomy/hostplants/) for gelechiid species Helcystogramma hibisci Stainton.

The spreadsheet we're using as a source is this one: https://raw.githubusercontent.com/gbif/hp-gelechiidae/master/_data/csv/Gelechiidae_HostPlants_06May2024.csv.

The url needs to contain the taxonKey like so:

http://127.0.0.1:4000/hosts/?taxonKey=1851462
<script> const datasetTemplate = dataset => `

Host plants for ${dataset.canonicalName} (${dataset.bracketAuthorship}, ${dataset.bracketYear})

TaxonKey=${datasetKey}

`; </script> <script src="/assets/leaflet.js"></script> <script src="/assets/hosts.js"></script>