Allows to delete occurrence records and to select occurrence points by classification levels or by drawing spatial polygons.

map_module(
occ.cl,
action = "clean",
institution.code = "institutionCode",
collection.code = "collectionCode",
catalog.number = "catalogNumber",
year = "year",
date.identified = "dateIdentified",
species = "species",
identified.by = "identifiedBy",
decimal.latitude = "decimalLatitude",
decimal.longitude = "decimalLongitude",
basis.of.record = "basisOfRecord",
media.type = "mediaType",
occurrence.id = "occurrenceID",
institution.source,
year.event,
scientific.name,
determined.by,
latitude,
longitude,
basis.of.rec,
occ.id
)

## Arguments

occ.cl Data frame with occurrence records information already classified by classify_occ function. a string with "clean" or "flag" which defines the action of map_module function with the occurrence dataset. Default is "clean". If the string is "clean" the dataset returned only the occurrences records selected by the user. If the string is "flag", a column named map_module_flag is added in the output dataset, with tags selected and deleted, following the choices of the user in the application. column name of occ with the name (or acronym) in use by the institution having custody of the object(s) or information referred to in the record. column name of occ with The name, acronym, code, or initials identifying the collection or data set from which the record was derived. column name of occ with an identifier (preferably unique) for the record within the data set or collection. Column name of occ the four-digit year in which the Event occurred, according to the Common Era Calendar. Column name of occ with the date on which the subject was determined as representing the Taxon. column name of occ with the species names. column name of occ with the name of who determined the species. column name of occ latitude in decimal degrees. column name of occ longitude in decimal degrees. column name with the specific nature of the data record. See details. column name of occ with the media type of recording. See details. column name of occ with link or code for the occurrence record. See in Darwin Core Format deprecated, use institution.code instead. deprecated, use year instead. deprecated, use species instead. deprecated, use identified.by instead deprecated, use decimal.latitude instead deprecated, use decimal.longitude instead deprecated, use basis.of.record instead. deprecated, use occurrence.id instead

## Value

Data frame with the same columns of occ.cl.

classify_occ

## Author

Arthur V. Rodrigues

## Examples

if (FALSE) {
data("A.setosa")
data("speciaLists")

occ.class <- classify_occ(A.setosa, speciaLists)
occ.selected <- map_module(occ.class)
occ.selected

}