query_plots: List, extract map selected plots

Description Usage Arguments Value Author(s)

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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_diconame = NULL,
  show_multiple_census = FALSE,
  show_all_coordinates = FALSE,
  remove_ids = FALSE,
  collapse_multiple_val = FALSE
)

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

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)

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 April 27, 2021, 1:30 a.m.