convert_gbif {dynamicSDM} | R Documentation |
Reformats GBIF data into dynamicSDM
data frame
Description
Function converts GBIF occurrence records into the format required for dynamicSDM
functions.
Usage
convert_gbif(gbif.df)
Arguments
gbif.df |
a data frame, the direct output from GBIF occurrence record download. |
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.
Value
Returns data frame correctly formatted for input into dynamicSDM
functions.
Examples
data(sample_occ_data)
converted <- convert_gbif(sample_occ_data)
[Package dynamicSDM version 1.3.4 Index]