getNorthumberlandConfig: Setup config to split data for the Northumberland SLA

View source: R/getNorthumberlandConfig.R

getNorthumberlandConfigR Documentation

Setup config to split data for the Northumberland SLA

Description

Setup config to split data for the Northumberland SLA

Usage

getNorthumberlandConfig(
  plant_sp,
  Other_LA_Cols,
  pearl_mussel_select,
  protected_mammals,
  non_inverts,
  s41_mammals
)

Arguments

plant_sp

List of plant species

Other_LA_Cols

List of columns

SLA_Split_config

config values

Examples

bat_sp <- c("Chiroptera","Rhinolophidae","Vespertilionidae")
plant_sp <- c("flowering plant" ,"clubmoss" ,"conifer")
Other_LA_Cols <- c("Taxon group","Latin Name","Abundances","Determination Type")
pearl_mussel_select <- "SLA_data$`Latin Name`=='Margaritifera (Margaritifera) margaritifera' | SLA_data$`Latin Name`=='Margaritifera margaritifera'"
protected_mammals <- c("Arvicola amphibius", "Arvicola", "Lutra", "Lutra lutra", "Meles", "Meles meles", "Sciurus vulgaris", "Martes martes", "Martes", "Muscardinus avellanarius","Chiroptera","Rhinolophidae","Vespertilionidae","Myotis","Barbastella","Eptesicus","Nyctalus","Pipistrellus","Plecotus","Vespertilio","Lasiurus","Tadarida","Hypsugo")
non_inverts <- c("alga", "amphibian", "bird", "chromist", "clubmoss", "conifer", "diatom", "fern", "flowering plant", "fungus", "ginkgo", "hornwort", "horsetail", "lancelet (Cephalochordata)", "lichen", "liverwort", "marine mammal", "moss", "quillwort", "reptile", "slime mould", "stonewort", "terrestrial mammal","fish,")
s41_mammals <- c("Erinaceus europaeus", "Lepus europaeus", "Mustela putorius", "Micromys minutus")
list <- getNorthumberlandConfig(plant_sp,Other_LA_Cols,pearl_mussel_select,protected_mammals,non_inverts,s41_mammals)


ERICNorthEast/ERIC_Data_Proc documentation built on Dec. 5, 2023, 12:19 p.m.