addmainfields: Adds required fields to a dataframe containing coordinates for points
Description
Several functions require a particular set of columns with specific names. The required fields are: ID, x, y, Species, x_original, y_original, Correction, Modified, Reason and Exclude. This function adds these columns to the dataframe.
Usage
addmainfields(dat,species)
Arguments
dat
a dataframe containing coordinates for a set of points (collection localities)
species
the name of the field containing the species names