
Create overview module
create_overview_report.RdThe most relevant plots illustrating the general quality of a collection. This include sections on:
Composition of the collection,
Geographic coverage of the collection,
Change over time of the collection,
Turnover of the collection,
Taxonomic diversity of the collection,
Survival in the collection,
Provenance in the collection and,
Important accessions.
Usage
create_overview_report(
enriched_report,
collection = NULL,
wgsrpd3 = NULL,
PlantClassification_filepath = NULL,
coordinates = NA,
output_dir = NULL,
min_year = 1970,
native = "Naturally occurring only",
extinct = TRUE,
doubtful_locations = FALSE,
earliest_allowable_record = 1700,
old_accession_year_codes = NULL
)Arguments
- enriched_report
The enriched report of a living collection (created in BGsmartR)
- collection
The name of the living collection
- wgsrpd3
World Geographical Scheme for Recording Plant Distributions. Containing polygons of each level 3 area. Can be obtained from
rWCVPpackage.- PlantClassification_filepath
filepath to family classification. If NULL we use the default contained within BGSmartR.
- coordinates
The coordinates of the collection (long, lat).
- output_dir
The output directory
- min_year
The minimum year for analyses over time.
- native
string where 'Naturally occurring only' or 'Introduced only' reduces the locations used to determine native plants.
- extinct
Flag (TRUE/FALSE) for whether to include extinct geographic locations.
- doubtful_locations
Flag (TRUE/FALSE) for whether to include doubtful locations.
- earliest_allowable_record
Number, corresponding to the minimum allowable year in the "AccYear" column.
- old_accession_year_codes
Vector of numbers corresponding to values within "AccYear" that indicate that a record is old with unknown accession year. For our analyses over time we assume these records are accessioned on
earliest_allowable_record.