A very small library for working with plant occurrence data, taxon specific data and taxon reference data. Contains a simple store for collected data and methods for calculating statistics. A final data structure is yet to be described. This documentation will be enriched when the library has reached a stable concept.
You can install the Floralink core library with npm:
npm install @floralink/core
Then, in your project:
import * as floralink from "@floralink/core";
initializePlugin(plugin, credentials);
getOccurrenceData(provider, query);
getTaxonDataByID(taxonIDs, pluginID);
getTaxonSpecific(taxonIDs, pluginID);
convertToTaxonOccurrenceData(occurrenceData);
getOccurrenceStatistics(occurrenceData);
getTaxonOccurrenceStatistics(taxonOccurrenceData, occurrenceData);
getTaxonSpecificStatistics(taxonSpecificPlugin, taxonSpecificData, filterIDs);