query_plots: List, extract map selected plots

query_plotsR Documentation

List, extract map selected plots

Description

Provide and map list of selected plots, including associated traits for individuals

Usage

query_plots(
  team_lead = NULL,
  plot_name = NULL,
  tag = NULL,
  country = NULL,
  province = NULL,
  locality_name = NULL,
  method = NULL,
  date_y = NULL,
  extract_individuals = FALSE,
  map = FALSE,
  zoom = 0,
  label = T,
  try_optimal_label = F,
  map_type = "mapview",
  id_individual = NULL,
  id_plot = NULL,
  id_tax = NULL,
  id_specimen = NULL,
  show_multiple_census = FALSE,
  show_all_coordinates = FALSE,
  remove_ids = TRUE,
  collapse_multiple_val = FALSE,
  extract_traits = TRUE,
  traits_to_genera = FALSE,
  wd_fam_level = FALSE,
  include_liana = FALSE,
  extract_subplot_features = TRUE
)

Arguments

team_lead

string fuzzy person name to look for

plot_name

string fuzzy plot name to look for

tag

numeric exact tag number of the plot

country

string fuzzy country name to look for

province

string fuzzy province name to look for

locality_name

string fuzzy locality_name name to look for

method

stringfuzzy method name to look for

date_y

integer year of collect

extract_individuals

logical whether individuals instead of plot list as output

map

logical whether map whould be produced

zoom

integer positive values indicating zoom level for ggplot style map

label

logical for ggplot map, whether adding label or not

try_optimal_label

logical if map is ggplot

map_type

string mapview or ggplot, mapview by default

id_individual

numeric id of individual to be extracted

id_plot

numeric id of plot to be extracted

id_specimen

numeric id of specimen linked to individuals

show_multiple_census

logical whether multiple census should be shown, by default FALSE

remove_ids

logical remove all ids columns, by default TRUE

collapse_multiple_val

logical whether multiple traits measures should be collapsed (resulting values as character, separated by dash)

extract_traits

whether species level traits should be extracted as well

traits_to_genera

if species-level traits should be extrapolated to genus level, by default is FALSE

wd_fam_level

logical, if wood density should be given at family level or not NOT YET FULLY AVAILABLE

include_liana

logical, if liana should be included, by default FALSE

Value

A tibble of all plots or individuals

A tibble of plots or individuals if extract_individuals is TRUE

Author(s)

Gilles Dauby, gilles.dauby@ird.fr


gdauby/bdd_plots_central_africa documentation built on Aug. 1, 2024, 4:33 a.m.