Skip to contents

Opens an R Shiny web application. With the application select on variables in the primary dataset that should be retained.

Usage

select_vars(dat, project)

Arguments

dat

Primary data containing information on hauls or trips. Table in the FishSET database contains the string 'MainDataTable'.

project

String, name of project.

Details

Opens an interactive table that allows users to select which variables to be included by clicking check boxes. Data should be loaded into the FishSET database before running this function. Select variables that will be used to generate further variables, such as rates or cpue, and variables to be included in models. Removed variables can be added back into the dataset at a later date using the add_vars function.

Examples

if (FALSE) {
select_vars(pcodMainDataTable, "pcod")
}