colbuild

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package colbuild sets methods for loading names and references from the Catalogue of Life and then creating links from the references to Biodiversity Heritage Library locations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColBuild

type ColBuild interface {
	// DataStatus determines if downloaded and extracted files do exist,
	// and if the tables exist and have data.
	DataStatus() (bool, bool, error)

	// ResetColData removes all downloaded and generated resources, leaving
	// empty databases and no files.
	ResetColData()

	// ImportColData downloads CoL Darwin Core Archive dump, then imports names
	// and references from into storage.
	ImportColData() error

	// LinkColToBhl discovers putative links from CoL references to BHL pages
	// and stores the results.
	LinkColToBhl(func(<-chan input.Input, chan<- *namerefs.NameRefs)) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL