locality_add_habitat_biome: Uses info from...

View source: R/dataFunctions.R

locality_add_habitat_biomeR Documentation

Uses info from http://omap.africanmarineatlas.org/BIOSPHERE/data/note_areas_sp/Ecoregions_Ecosystems/WWF_Ecoregions/WWFecoregions.htm to convert codes to more readable text

Description

Uses info from http://omap.africanmarineatlas.org/BIOSPHERE/data/note_areas_sp/Ecoregions_Ecosystems/WWF_Ecoregions/WWFecoregions.htm to convert codes to more readable text

Usage

locality_add_habitat_biome(locations)

Arguments

locations

Data.frame containing points (latitude and longitude, perhaps other data as columns)

Value

data.frame with columns for habitat and biome.

Examples

locations <- spocc_taxon_query("Myrmecocystus", limit=50)
locations <- locality_clean(locations)
locations <- locality_add_habitat_biome(locations)
print(head(locations))

bomeara/chapter2 documentation built on July 27, 2024, 10:35 p.m.