combine_ala_records: Combine ALA Records for different taxa!

View source: R/SDM_GEN_PROCESSOR_FUNCTIONS.R

combine_ala_recordsR Documentation

Combine ALA Records for different taxa!

Description

Combines all occurrence files from ALA into one table. It assumes that all the files come from the previous 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

combine_ala_records(
  taxa_list,
  records_path,
  records_extension,
  record_type,
  keep_cols,
  year_filt,
  year,
  year_lim,
  unique_cells,
  world_raster
)

Arguments

taxa_list

Character Vector - List of taxa already downloaded

records_path

File path for downloaded taxa

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

year_filt

Character - filter out records based on a year?

year_lim

Numeric - Records to remove

unique_cells

Logical - take only one record per cell?

world_raster

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


HMB3/nenswniche documentation built on Jan. 31, 2023, 11:46 p.m.