README.md

sapmuebase

v. 3.1.7

sapmuebase is a package with functions useful in the SAP MUE team. Most of them are related to the import of reports from IEO's SIRENO database in R, with a common format.

Note: Various functions of sapmuebase package require the 'tallas por UP' reports or OAB reports from IEO's SIRENO database.

Install

With devtools package installed:

library(devtools)
install_github("Eucrow/sapmuebase")

Functions available

Use ?nameofthefunction to details.

speciesBelongToTaxon()

Check in WORMS if species belongs to a taxon.

importCsvSAPMUE()

Import csv files with special format usually used in SAPMUE team.

exportCsvSAPMUE()

Export csv files with special format usually used in SAPMUE team.

importRIMFiles()

Import the SIRENO at-market reports from ICES project.

importRIMCatches()

Import SIRENO catches report from at-market sampling in the ICES project.

importRIMCatchesInLengths()

Import SIRENO catches in lengths report from at-market sampling in the ICES project.

importRIMLengths()

Import SIRENO lengths report from at-market sampling in the ICES project.

importOABFiles()

Import the SIRENO on board reports from ICES project.

importOABHauls()

Import SIRENO haul report from on-board sampling in the ICES project.

importOABHaulsCECAF()

Import SIRENO haul report from on-board sampling in the CECAF project.

importOABTrips()

Import SIRENO trips report from on-board sampling in the ICES project.

importOABTripsCECAF()

Import SIRENO trips report from on-board sampling in the CECAF project.

importOABCatches()

Import SIRENO catches report from on-board sampling in the ICES project.

importOABCatchesCECAF()

Import SIRENO catches report from on-board sampling in the CECAF project.

importOABLengths()

Import SIRENO lengths report from on-board sampling in the ICES project.

importOABLengthsCECAF()

Import SIRENO lengths report from on-board sampling in the CECAF project.

importOABLitter()

Import SIRENO litter report from on-board sampling in the ICES project.

importOABAccidentals()

Import SIRENO accidentals catches report from on-board sampling in the ICES project.

importIPDFile()

Import the file with data to dump in SIRENO to R.

exportListToCsv()

Create a csv file for each dataframe in a list of dataframes.

humanize()

Create new variables with description values from all the encoded variables in a dataframe.

humanizeVariable()

Create new variable with description values from one encoded variable.

checkAllFormatVariables()

Check all the variables format of a dataframe.

checkFormatVariable()

Check the correct format of a variable of a dataframe.

addInfluenceAreaVariable()

Add an influence area variable.

separateDataframeByInfluenceArea()

Separate a dataframe by influence area (only RIM influence area).

checkStructureFile()

READ HELP BEFORE USE. Check the correct structure file of tallas_x_up SIRENO reports.

fixReportSirenoFiles()

Use ?fixReportSirenoFiles for details in R.

backupScripts()

Backup scripts and related files.

Datasets available

Datasest names and its variables are mostly in spanish due to the language used in SIRENO database.

The datasets with SIRENO data are only related to ICES area.

Use ?nameofthedataset to details.



Eucrow/sapmuebase documentation built on April 17, 2024, 10:29 a.m.