SEB_project_concatenate: A function to concatenate a SEBASTES project database to .csv...

View source: R/functions.R

SEB_project_concatenateR Documentation

A function to concatenate a SEBASTES project database to .csv files

Description

This function inputs a directory folder containing a single project database from stereo camera deployments. It reads the single *.db file with the combined deployment data and extracts the frame data and the target data. It then merges with the sensor data (if path is provided), from CamTrawlMetadata.db assigning a unique identifier (deployment_ID) and outputs two .csv files, one containing target data and one containing the frame data. Any accessory data from sensors will also be included with the frame data.

Usage

SEB_project_concatenate(project.db, deployment.dir)

Arguments

project.db

database with the combined deployment data

deployment.dir

directory that contains subdirectories with the individual deployments with sensor data (CamTrawlMetadata.db files)

Examples

SEB_project_concatenate("C:/Users/rooperc/Desktop/Deep Sea Coral Research/DeepSeaCoralSurveyDataBase/GOA MACE Data/MACE_2019/MACE2019_GOA.db","D:/DropCam")

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