View source: R/internal_functions.R
reduce.df | R Documentation |
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 )
df |
occurrence data frame provided in classify_occ |
institution.code |
institution.code = "institutionCode" |
collection.code |
collection.code = "collectionCode" |
catalog.number |
catalog.number = "catalogNumber" |
year |
year = "year", |
date.identified |
date.identified = "dateIdentified" |
species |
species = "species" |
identified.by |
identified.by = "identifiedBy" |
decimal.latitude |
decimal.latitude = "decimalLatitude" |
decimal.longitude |
decimal.longitude = "decimalLongitude" |
basis.of.record |
basis.of.record = "basisOfRecord" |
media.type |
media.type = "mediaType" |
occurrence.id |
occ.id = "occurrenceID" |
na.rm.coords |
na.rm.coords = TRUE |
a data frame with only the columns required for the naturaList
package
classify_occ
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.