Function converts GBIF occurrence records into the format required for dynamicSDM
functions.
convert_gbif(gbif.df)
Arguments
gbif.df: a data frame, the direct output from GBIF occurrence record download.
Returns
Returns data frame correctly formatted for input into dynamicSDM functions.
Details
For most dynamicSDM functions, an occurrence data frame with record co-ordinate columns labelled "x" and "y" with numeric columns for record "day", "month" and "year" are required. This function takes the input data frame and returns a reformatted data frame suitable for direct input into dynamicSDM functions.