combine_gbif_records: This function combines all occurrence files from GBIF into...

Description Usage Arguments

Description

This function combines all occurrence files from GBIF into one table. There are slight differences between ALA and GBIF, so separate functions are useful. It assumes that all the files come from the previous GBIF downloads function. Although you can download all the records for in one go, this is better for Doing small runs of species, or where you want to re-run them constantly

Usage

1
2
3
4
5
6
7
8
combine_gbif_records(
  species_list,
  records_path,
  records_extension,
  record_type,
  keep_cols,
  world_raster
)

Arguments

species_list

List of species already downloaded

records_path

File path for downloaded species

records_extension

Which R file type? RDS or RDA

record_type

Adds a column to the data frame for the data source, EG ALA

keep_cols

The columns we want to keep - a character list created by you

world_raster

An Raster file of the enviro conditions used (assumed to be global)


HMB3/sdmgen documentation built on April 16, 2021, 7:29 p.m.