A sample obsidian vault, preconfigured for biodiversity informatics
See: https://echinopscis.github.io/installation/
Contains the following plugins:
-
Scripted access to remote information resources: QuickAdd
These scripts are all managed in this repository (details in section below), and all have a dependency on handlebar-helper for templating
- Botanical names: IPNI
- Specimen occurrences: GBIF
- Person profiles: Bionomia
- Collection profiles: Global Registry of Scientific Collections
- Literature: Crossref
-
Visualisation - spatial: Leaflet
-
Utility - templating: handlebar-helper
-
Utility - data querying: Dataview
-
User interface - folder differentiation: Icon folder (uses a subset of remix icons)
These QuickAdd scripts access frequently used biodiversity informatics resources to create representative pages in an Obsidian vault, so that the user can:
- annotate them with their own notes
- link them together and explore connections
- cite them as references in research outputs like taxonomic treatments and articles
The following Obsidian plugins are required in order to use these scripts:
Each quickadd script consists of two parts - a data access script and a template which is used to format the structured data response into an Obsidian page.
A data access script generally has the following configuration options:
- Filename format (using a handlebarsjs snippet)
- Template
- Folder in which to place newly created files
A data access script generally follows these steps:
- Detect if the currrent page has selected text, if so use this as the search term
- If no selected text detected, show an input box for search terms
- Translate search terms to an API call to a remote data resource
- Present the user with a set of matching records, so that they can select one
- Format the selected record using the template, and open the new page
The template is written using handlebarsjs, and the handlebar helper is required to process the template. The call to process the template is made in the data access script.
- Script: scripts/gbif.js
- Template: templates/gbif.md
- Notes: Configuration options control the interpretation of search terms - eg the user can opt to treat any numeric search terms as record numbers (to facilitate searching for botanical specimens).
- Script: scripts/ipni.js
- Template: templates/ipni.md
- Notes: Configuration options allow the user to specify if a page for the basionym should also be created, if the selected name is a combination.
- Script: scripts/grscicoll.js
- Template: templates/grscicoll.md
- Script: scripts/bionomia.js
- Template: templates/bionomia.md
- Script: scripts/crossref.js
- Template: templates/crossref.md
- Notes: The script will try to detect a DOI from the frontmatter of the current file, if one is found the script will ask the user to verify that it should be used. Otherwise the user can enter search terms (author, title keywords, year etc).
Comments are welcome - please use the github issue tracker associated with this project: echinopscis/echinopscis-sample-vault/issues