-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Milestone
Description
From a template, containing a link to the VBP, for every species on the GRIIS checklist.
- Create a template, named
links_template.txt
- Create a
create_new_links.rmd
to create links files when missing from./HTML_pages/Rmd_files/
- Create a
create_new_links.yaml
to trigger the script when GRIIS checklist changes. - Create a
PR_create_new_links.md
The link to VBP can be created as follows https://natuurdata.inbo.be/bie-hub/species/<gbif_taxonkey>
.
create_new_links.rmd
should do the following:
- Read the GRIIS checklist
- Iterate through the taxonkeys
- Determine links file is missing (if not missing
next()
) - Read the links_template.txt
- gsub
<--TAXONKEY-->
with thetaxonkey
- Save as
<taxonkey>.txt
- Copy file to
<taxonkey>.rmd
- remove
<taxonkey>.txt