View source: R/get_inboveg_classification.R
get_inboveg_classification | R Documentation |
This function queries the INBOVEG database for information on the field classification (N2000 or local vegetation type, e.g. BWK-code) of the relevé (recording) for one or more survey(s) by the name of the survey. See the examples for how to get information for all surveys.
get_inboveg_classification(
connection,
survey_name,
classif,
multiple = FALSE,
collect = FALSE
)
connection |
|
survey_name |
A character string or a character vector giving the name or names of the survey(s) for which you want to extract Classification information. If missing, all surveys are returned. |
classif |
A character vector giving the Classification code of the vegetation type for which you want to extract information. If missing, all classifications are returned. |
multiple |
If TRUE, survey_name can take a character vector with multiple survey names that must match exactly. If FALSE (the default), survey_name must be a single character string (one survey name) that can include wildcards to allow partial matches |
collect |
If FALSE (the default), a remote |
A remote tbl
object (collect = FALSE) or a tibble
dataframe
(collect = TRUE) with variables
Id
,
SurveyName
,
Classification-code
,
vegetation type / BWK or N2000-list,
LocalClassification
,
Description of the habitat type,
Cover-code,
Cover in percentage.
Other inboveg:
get_inboveg_header()
,
get_inboveg_layer_cover()
,
get_inboveg_layer_qualifier()
,
get_inboveg_ppa()
,
get_inboveg_qualifier()
,
get_inboveg_recording()
,
get_inboveg_relation_recording()
,
get_inboveg_survey()
## Not run:
library(inbodb)
con <- connect_inbo_dbase("D0010_00_Cydonia")
# get a specific classification from a survey and collect the data
classif_info <- get_inboveg_classification(con,
survey_name = "MILKLIM_Heischraal2012", classif = "4010", collect = TRUE)
# get the classification from several specific surveys
classif_info <- get_inboveg_classification(con,
survey_name = c("MILKLIM_Heischraal2012", "NICHE Vlaanderen" ),
multiple = TRUE)
# get all surveys, all classifications, don't collect the data
allecodes <- get_inboveg_classification(con)
# Close the connection when done
dbDisconnect(con)
rm(con)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.