Skip to content

kflahertywalia/FIM_data_proc

Repository files navigation

Processing FWC Fisheries-Independent Monitoring (FIM) Data

The following code has been revised from SAS into R (see notes) to process FIM data into multi-species (community data) and single-species datasets for analyses. Two different pathways are used to process each type of dataset. Each processing pathway has options to subset the data further by monitoring type (pulled out as a integer (x) in the data set name; m for standard monitoring, d for directed sampling, null for all monitoring, etc.), gear type, location (zone, bay segment, river), years or months sampled, etc (subset described as "s"). Use the most appropriate subset for the data analyses you are conducting.

Before processing, download the most current FIM data from () and, if needed, run tb_subset.R to subset all FIM data into Tampa Bay only.

Multi-species data (in progress):

  1. Run multi_comb_data_proc.R to process and subset the Tampa Bay data into two files:

    • Count data (tbx_s_c.RData)

    • Length data (tbx_s_l.RData):

  2. Run matrix_out.R to format data for multivariate analyses packages such as PRIMER by creating pseudospecies (juveniles/adults, etc.) based on length data and transposing into three tables:

    • A species list defining column abbreviations: tbx_spp.R -

    • Samples as rows, species and factors as columns (tbx_num.R)

    • Samples as rows, environmental data and factors as columns (tbx_env.R)

Single-species data (to do):

Run spp_comb_data_proc.R to process and subset the Tampa Bay data for one species and desired length into two files:

  • Count data (tbx_s_c.R)

    • Subset of the count data

    • Fills no catch samples with zeros

  • length data (tbx_s_l.R) - subset the length data

About

Code to process FWC FIM data into multispecies and single species data frames for analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages