Skip to contents

Add new records to existing database

Usage

append_database(
  dsn,
  fix_files = NULL,
  device_files = NULL,
  animal_files = NULL,
  deployment_files = NULL
)

Arguments

dsn

The path to the database file to be created. Currently must be a .gpkg file.

fix_files

A path, or paths, to files with telemetry fixes.

device_files

A path, or paths, to CSV files containing information about the telemetry devices used. This must include an `ID` column.

animal_files

A path, or paths, to CSV files containing information about the animals on which devices were deployed. This must include an `ID` column.

deployment_files

A path, or paths, to CSV files specifying which devices were deployed on which animals and when. Columns must include: `AnimalID`, `DeviceID`, `In_Service`, and `Out_Service`.

Value

[append_database()] returns `TRUE`, invisibly.