select_species_names: Select species names by country iso3 code

Description Usage Arguments Value Examples

View source: R/select_species_names.R

Description

Select species names by country iso3 code

Usage

1
select_species_names(path, iso3, field = "canonicalName")

Arguments

path

Path to csv with columns 'iso3' and the defined field

iso3

ISO alpha 3 code for country

field

The name of the field in the csv with the name

Value

Vector string of names

Examples

1
2
3
4
arg_list = yaml::read_yaml("arg_list.yaml")
path = do.call(file.path, as.list(arg_list$search_spp_list_path))
iso3 = 'TZA'
spp_list <- select_species_names(path, iso3)

Vizzuality/vspt documentation built on Nov. 9, 2020, 10:38 p.m.