get_sp_names: Obtaining species names from a CSV file

Description Usage Arguments Value References Examples

Description

Creates a species list reading a CSV file to use in the gap_analysis pipeline

Usage

1
get_sp_names(Workspace, species_csv)

Arguments

Workspace

A forder where the pipeline will be executed

species_csv

A CSV file name located at /Workspace/parameters/input to be splitted

Value

It returns a species list in an object

References

Khoury, C. K., Amariles, D., Soto, J. S., Diaz, M. V., Sotelo, S., Sosa, C. C., … Jarvis, A. (2019). Comprehensiveness of conservation of useful wild plants: An operational indicator for biodiversity and sustainable development targets. Ecological Indicators. https://doi.org/10.1016/j.ecolind.2018.11.016

Examples

1
2
3
4
5
6
clean_records(Workspace,species_csv)

 Workspace = "E:/CIAT/workspace/Workspace_test/workspace"
 species_csv <- 'Cucurbita_CWR_2019_09_30.csv'

 x <- get_sp_names(Workspace,species_csv)

dcarver1/gapAnalysisR documentation built on Feb. 29, 2020, 12:13 p.m.