convert_gbif function

Reformats GBIF data into dynamicSDM data frame

Reformats GBIF data into dynamicSDM data frame

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.

Examples

data(sample_occ_data) converted <- convert_gbif(sample_occ_data)
  • Maintainer: Rachel Dobson
  • License: GPL (>= 3)
  • Last published: 2024-06-28