Pre_analysis_function: Run the first steps for the gap analysis

Description Usage Arguments Value References Examples

View source: R/Pre_analysis_function.R

Description

Creates initial steps for the gap analysis as folder structure, species folder results and species list names

Usage

1
Pre_analysis_function(dir, species_csv, run_version)

Arguments

dir

A forder to run the gap analysis including inputs and outputs

species_csv

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

run_version

The version of the analysis used (e.g 'v1')

Workspace

A forder where the pipeline will be executed

Value

This function run the first steps for the GapAnalysisR pipeline

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
7
8
Pre_analysis_function(dir,run_version,Workspace,buff_dist,pre_analysis,insitu,exsitu,eooAoo)

 dir  <-  'E:/CIAT/workspace/Workspace_test'
 run_version  <- 'v1'
 species_csv <- 'Cucurbita_CWR_2019_09_30.csv'
 Workspace  <-  'E:/CIAT/workspace/Workspace_test/workspace'

x <- Pre_analysis_function(dir,species_csv,run_version,Workspace)

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