Documentation ¶
Overview ¶
Command country creates a list of taxa and the countries with localities from a GBIF occurrence table.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &command.Command{
Usage: `country [--tax <file>]
[-i|--input <file>] [-o|--output <file>]`,
Short: "create a taxon-country table",
Long: `
Command country reads a GBIF occurrence table from the standard input and
prints a table with the taxon names and countries with specimen records.
A country table has the following columns:
- name: the taxon name. If a taxonomy is used, the ranked and accepted
names will be used.
- countryCode: an ISO 3166-1 alpha-2 code of the country.
- country: name of the country
If the flag --tax is given with a file, a taxonomy will be read from the file,
and only the records that match the taxonomy will be selected.
By default, it will read the data from the standard input; use the flag
--input, or -i, to select a particular file.
By default, the results will be printed in the standard output; use the flag
--output, or -o, to define an output file.
`,
SetFlags: setFlags,
Run: run,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.