SEB_data_replace: A function to replace SEBASTES deployment data with updated...

View source: R/functions.R

SEB_data_replaceR Documentation

A function to replace SEBASTES deployment data with updated versions

Description

This inputs a folder containing *.db files from SEBASTES annotations and uses their file name to overwrite the existing *.db files in deployment folders. This is a handy function if you have multiple people working on SEBASTES deployments with multiple copies of the images. Use this function to update the old data with the new data after correcting identifications or remeasuring individuals or processing for different groups of species.

Usage

SEB_data_replace(new.data.dir, project.dir, name_start = "D")

Arguments

new.data.dir

a directory containing the new data (*.db) files

project.dir

directory containing original deployment files (images, logs, settings)

name_start

a character defining the start of the deployment designation. In SEBASTES this is typically the default "D" (e.g. D20210903-T223225)

Examples

SEB_data_replace("C:/Users/rooperc/Desktop/Rockfish Projects/Longline Survey Gear Comparisons/TrigCamData/Gadus data/Gadus data","C:/Users/rooperc/Desktop/Rockfish Projects/Longline Survey Gear Comparisons/TrigCamData/Gadus")

rooperc4/StereoCamDataUtils documentation built on Nov. 20, 2024, 9:58 p.m.