Skip to contents

latlong

Functions for managing latitude and longitude data.

latlong_column()
Identify coordinate columns in a data frame
latlong_convert()
Convert coordinate formats
latlong_combine()
Combine separate coordinate columns into one
latlong_filter()
Filter rows by real-world coordinate validity
latlong_format()
Check the format of coordinate columns
latlong_limits()
Report coordinate limits of a data frame
latlong_hemisphere()
Assign hemispheres to coordinates
latlong_range()
Filter rows by coordinate range
latlong_region()
Filter rows by geographic region
latlong_split()
Split a combined coordinate column into separate columns

taxon

Functions for managing taxonomic data.

taxon_add()
Add higher taxonomic rank columns
taxon_cite()
Append authorship and year to taxonomic name columns
taxon_cleaner()
Clean taxonomic name formatting
taxon_column()
Identify taxonomic columns
taxon_combine()
Combine genus and epithet columns into a binomial name
taxon_rank()
Detect the taxonomic rank of a column
taxon_spellcheck()
Check and correct taxonomic name spelling
taxon_split()
Split a binomial name column into genus and epithet
taxon_sort()
Sort columns into standard taxonomic rank order
taxon_validate()
Validate taxonomic names against ITIS and GBIF

Utilities

General-purpose functions for data set management.

deduplicate()
Remove duplicate rows
duplicate()
Duplicate rows by a count column
italicize()
Format taxonomic names for italic display in ggplot2

Example Data

Octopodoidea occurrence datasets for Japan compiled from five museum and biodiversity sources, then compiled and refined with taxon functions.

GBIF_Japan
Japan-filtered GBIF Octopodoidea occurrence records
InvBase_Japan
Japan-filtered InvBase Octopodoidea occurrence records
BISMAL_Japan
Japan-filtered BISMAL Octopodoidea occurrence records
OBIS_Japan
Japan-filtered OBIS Octopodoidea occurrence records
NSMT_Japan
Japan-filtered NSMT Octopodoidea occurrence records
museum
Combined Japan Octopodoidea occurrence records
museum_taxon
Taxonomically validated and enriched Japan Octopodoidea records