clean_data: Clean Database for VAST

View source: R/clean_data.R

clean_dataR Documentation

Clean Database for VAST

Description

Many specific column names are needed for VAST but the data are downloaded from several repositories, thus making cleaning the data a necessary step before running VAST. This function attempts to standardize the columns to work with VAST.

Usage

clean_data(data)

Arguments

data

A data frame that you want to use for a VAST model.

Details

todo: figure out area swept for the different surveys WCGBTS and all AFSC surveys are in KG/Hectare but early on I used "AreaSwept_km2" = 0.01 todo: ensure that there are no NA values, i.e., na.omit(data)

Author(s)

Kelli F. Johnson


nwfsc-assess/VAST_WestCoast documentation built on July 4, 2023, 5:45 p.m.