Package: Tivy 0.1.1

Tivy: Toolkit for Investigation and Visualization of Young Anchovies

Specialized toolkit for processing biological and fisheries data from Peru's anchovy (Engraulis ringens) fishery. Provides functions to analyze fishing logbooks, calculate biological indicators (length-weight relationships, juvenile percentages), generate spatial fishing indicators, and visualize regulatory measures from Peru's Ministry of Production. Features automated data processing from multiple file formats, coordinate validation, spatial analysis of fishing zones, and tools for analyzing fishing closure announcements and regulatory compliance. Includes built-in datasets of Peruvian coastal coordinates and parallel lines for analyzing fishing activities within regulatory zones.

Authors:Hans Ttito [aut, cre]

Tivy_0.1.1.tar.gz
Tivy_0.1.1.zip(r-4.7-any)Tivy_0.1.1.zip(r-4.6-any)Tivy_0.1.1.zip(r-4.5-any)
Tivy_0.1.1.tgz(r-4.6-any)Tivy_0.1.1.tgz(r-4.5-any)
Tivy_0.1.1.tar.gz(r-4.7-any)Tivy_0.1.1.tar.gz(r-4.6-any)
Tivy_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
Tivy/json (API)

# Install 'Tivy' in R:
install.packages('Tivy', repos = c('https://hansttito.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/hansttito/tivy/issues

Datasets:

On CRAN:

Conda:

4.94 score 1 stars 11 scripts 254 downloads 34 exports 91 dependencies

Last updated from:f67c5c9b2b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK194
source / vignettesOK201
linux-release-x86_64OK199
macos-release-arm64OK144
macos-oldrel-arm64OK145
windows-develOK133
windows-releaseOK127
windows-oldrelOK188
wasm-releaseOK144

Exports:add_variablesapply_catch_weightingcalculate_distances_vectorizedcalculate_fish_weightcalculate_juvenile_percentagecalculate_juvenile_statisticscoast_distanceconvert_numbers_to_weightconvert_to_datecreate_fishery_dashboarddms_to_decimalextract_numeric_valuesextract_pdf_datafetch_fishing_announcementsfind_columnfind_columns_by_patternformat_extracted_dataget_length_rangeland_pointsmerge_length_fishing_trips_haulsplot_fishing_zonesplot_juvenile_analysisplot_zones_interactiveplot_zones_staticprepare_polygonsprocess_fishing_tripsprocess_haulsprocess_lengthsummarize_juveniles_by_groupvalidate_fishing_trip_datavalidate_haul_datavalidate_length_datavalidate_polygon_dataweight_by_catch

Dependencies:askpassbase64encbslibcachemclassclassIntclicodetoolscpp11crosstalkcurlDBIdigestdplyre1071evaluatefarverfastmapfontawesomefsfuturefuture.applygenericsggplot2globalsgluegtablehighrhtmltoolshtmlwidgetshttrisobandjquerylibjsonliteKernSmoothknitrlabelinglatticelazyevalleafletleaflet.providerslifecyclelistenvlubridatemagrittrMASSmemoisemimeopensslparallellypatchworkpdftoolspillarpkgconfigpngproxypurrrqpdfR6rappdirsrasterRColorBrewerRcpprlangrmarkdownrvests2S7sassscalesselectrsfspstringistringrsysterratibbletidyrtidyselecttimechangetinytexunitsutf8vctrsviridisLitewithrwkxfunxml2yaml

Introduction to Tivy
Overview | Basic Usage | Processing Fishing Data | Coordinate Conversion | Distance Calculations | Juvenile Analysis | Data Requirements | Built-in Data | References

Last update: 2025-07-20
Started: 2025-07-07

Juvenile Fish Analysis with Tivy
Juvenile Fish Analysis | Basic Juvenile Analysis | Length-Weight Relationships | Juvenile Percentage Calculation | Convert Numbers to Weight | Visualization | Length-Weight Parameters | Parallel Processing | Analysis Tips | References

Last update: 2025-07-20
Started: 2025-07-08

Spatial Analysis with Tivy
Spatial Analysis | Distance to Coast | Coordinate Conversion | Land vs Sea Classification | Built-in Coastline Data | Distance Categories | Parallel Processing | Fishing Zone Analysis | Tips for Spatial Analysis | References

Last update: 2025-07-20
Started: 2025-07-07

Data Processing with Tivy
Data Processing Workflow | Step 1: Process Individual Datasets | Step 2: Data Validation | Step 3: Merge Datasets | Step 4: Add Derived Variables | Coordinate Processing | Error Handling | Column Detection | Tips

Last update: 2025-07-08
Started: 2025-07-07

Readme and manuals

Help Manual

Help pageTopics
Add variables for juveniles, sample length, distance to coast, and distance categoryadd_variables
Apply catch weighting to data frameapply_catch_weighting
Fishing haulscalas_bitacora
Calculate vectorized distances to coastlinecalculate_distances_vectorized
Calculate fish weight from lengthcalculate_fish_weight
Calculate juvenile percentagecalculate_juvenile_percentage
Calculate juvenile statistics for a groupcalculate_juvenile_statistics
Vectorized distance to coastcoast_distance
Convert numbers to weightconvert_numbers_to_weight
Convert dates to standard formatconvert_to_date
Create fishery dashboardcreate_fishery_dashboard
Convert latitude or longitude to decimal degreesdms_to_decimal
Extract length values from column namesextract_numeric_values
Extract data from PDF announcementsextract_pdf_data
Fishing tripsfaenas_bitacora
Fetch fishing announcements from external sourcesfetch_fishing_announcements
Find column by pattern matchingfind_column
Find columns by patternfind_columns_by_pattern
Format extracted announcement dataformat_extracted_data
Get length range from frequenciesget_length_range
Points on landland_points
Merge fishing trips, length and hauls datamerge_length_fishing_trips_hauls
Lines parallel to the Peruvian coastperu_coast_parallels
Peruvian coastlineperu_coastline
Isoparalittoral areasperu_isoparalitoral_areas
Plot fishing zonesplot_fishing_zones
Plot juvenile analysisplot_juvenile_analysis
Generate interactive plot of polygons with leafletplot_zones_interactive
Generate static plot of polygons on a mapplot_zones_static
Prepare polygons from coordinate dataprepare_polygons
Process fishing trip data from PRODUCE sitrapesca filesprocess_fishing_trips
Process fishing haul data from PRODUCE sitrapesca filesprocess_hauls
Process length data from haulsprocess_length
Summarize juveniles by groupsummarize_juveniles_by_group
Length data sampled from hauls made by vessels in the Peruvian sea.tallas_bitacora
Validate processed fishing trip data qualityvalidate_fishing_trip_data
Validate processed haul data qualityvalidate_haul_data
Validate processed length data qualityvalidate_length_data
Validate data for polygon creationvalidate_polygon_data
Weight length frequencies by total catchweight_by_catch