Skip to content
/ core Public

Floralink Core - a simple library for working with plant occurrence data

License

Notifications You must be signed in to change notification settings

floralink/core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@floralink/core

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.

Setup

You can install the Floralink core library with npm:

npm install @floralink/core

Then, in your project:

import * as floralink from "@floralink/core";

Methods

Data sources (Store)

initializePlugin(plugin, credentials);
getOccurrenceData(provider, query);
getTaxonDataByID(taxonIDs, pluginID);
getTaxonSpecific(taxonIDs, pluginID);

Type Conversions

convertToTaxonOccurrenceData(occurrenceData);

Statistics

getOccurrenceStatistics(occurrenceData);
getTaxonOccurrenceStatistics(taxonOccurrenceData, occurrenceData);
getTaxonSpecificStatistics(taxonSpecificPlugin, taxonSpecificData, filterIDs);

About

Floralink Core - a simple library for working with plant occurrence data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published