Reduce columns of occurrence data.frame required by classify_occ to facilitate internal operation
reduce.df(
df,
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",
na.rm.coords = TRUE
)a data frame with only the columns required for the naturaList
package
occurrence data frame provided in classify_occ
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"
occ.id = "occurrenceID"
na.rm.coords = TRUE
classify_occ