@larsgw/formica
TypeScript icon, indicating that this package has built-in type declarations

0.6.3 • Public • Published

Formica

Formica is an SDK and a collection of tools for the data in the Library of Identification Resources.

Install

Install globally:

npm install --global @larsgw/formica

Run locally:

npx --package @larsgw/formica -- ...

CLI

  • loir-validate-catalog [./catalog.csv ./authors.csv ./places.csv ./publishers.csv]: Validate the CSV files containing metadata (schema).
  • loir-validate-resources [./B1234.txt]: Validate the .txt files containing information on the taxonomic scope of keys (documentation).
  • loir-resources-process [./resources]: Interactive tool to convert the aforementioned .txt files to Darwin Core archives (documentation), and link the taxa to GBIF and Catalogue of Life identifiers. Use the -u or --update flag in a Git repo to update existing Darwin Core files while keeping the identifiers stable (in most cases).
  • loir-resources-index [./resources]: Create indices of the Darwin Core archives.

API

const Formica = require('@larsgw/formica')

// Load catalog data
const catalog = Formica.catalog.loadData(`...`, 'catalog')

Readme

Keywords

none

Package Sidebar

Install

npm i @larsgw/formica

Weekly Downloads

0

Version

0.6.3

License

MIT

Unpacked Size

790 kB

Total Files

77

Last publish

Collaborators

  • larsgw