icesDatras

R interface to Database of Trawl Surveys web services.
https://github.com/ices-tools-prod/icesDatras

Category: Biosphere
Sub Category: Marine Life and Fishery

Keywords from Contributors

fisheries

Last synced: about 6 hours ago
JSON representation

Repository metadata

R interface to DATRAS trawl database web services

README.md

Build Status
codecov
local release
CRAN Status
CRAN Monthly
CRAN Total
License

icesDatras

icesDatras provides R functions that access the
web services of the
ICES DATRAS trawl survey database.

icesDatras is implemented as an R package and
available on CRAN.

DATRAS database support

If you have questions relating to the ICES DATRAS database or web services please email: DatrasAdministration@ices.dk

Installation

icesDatras can be installed from CRAN using the install.packages command:

install.packages("icesDatras")

Usage

For a summary of the package:

library(icesDatras)
?icesDatras

Information on available surveys in DATRAS:

getSurveyList()

Working Examples

Extracting survey haul (HH), lenght (HL) and agebased (CA) data from a given survey, quarter and year,
i.e. North Sea IBTS, Quarter 1, 2019:

survey <- "NS-IBTS"
year <- 2019
quarter <- 1

HH <- getHHdata(survey, year, quarter) 
HL <- getHLdata(survey, year, quarter) 
CA <- getCAdata(survey, year, quarter) 

Extracting catch weight of cod from the Baltic Sea survey, year 2019, quarter 1.
Note: The icesVocab package provides findAphia, a function to look up Aphia species codes.

library(icesVocab)
aphia <- icesVocab::findAphia("cod") 

survey <- "BITS"
years <- 2019
quarters <- 1
codwgt <- getCatchWgt(survey, years, quarters, aphia)

Get catch weight for Baltic cod from all quarters in a small timeseries (e.g. 1991 to 2011) and plot the weight in a sipmle graph per quarter.

library(icesVocab)
library(ggplot2)

aphia <- icesVocab::findAphia("cod") 

survey <- "BITS"
years <- 1991:2011
quarters <- 1:4
codwgt <- getCatchWgt(survey, years, quarters, aphia)
codwgt %>% ggplot(aes(x = Year, y = CatchWgt, colour= Quarter)) + geom_point()

References

ICES DATRAS database:
http://datras.ices.dk

ICES DATRAS web services:
https://datras.ices.dk/WebServices/Webservices.aspx

AphiaID of marine organisms:
http://www.marinespecies.org/index.php

Development

icesDatras is developed openly on
GitHub.

Feel free to open an
issue there if you
encounter problems or have suggestions for future versions.

The current development version can be installed using:

library(devtools)
install_github("ices-tools-prod/icesDatras")

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 1 day ago

Total Commits: 223
Total Committers: 8
Avg Commits per committer: 27.875
Development Distribution Score (DDS): 0.475

Commits in past year: 2
Committers in past year: 1
Avg Commits per committer in past year: 2.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
colin millar c****r@g****m 117
Arni Magnusson a****a@h****s 92
Adriana Villamor a****r@i****k 5
Scott Large s****e 3
Cecilia Kvaavik c****k@i****k 3
Jeroen Ooms j****s@g****m 1
Alexandros Kokkalis a****9@g****m 1
Alban Sagouis 2****s 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 26
Total pull requests: 18
Average time to close issues: 11 months
Average time to close pull requests: 3 months
Total issue authors: 12
Total pull request authors: 7
Average comments per issue: 2.31
Average comments per pull request: 0.06
Merged pull request: 15
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/ices-tools-prod/icesDatras

Top Issue Authors

  • colinpmillar (7)
  • arni-magnusson (4)
  • slarge (3)
  • James-Thorson (3)
  • hgerritsen (2)
  • afredston (1)
  • pdolder (1)
  • einarhjorleifsson (1)
  • ClumpusJim (1)
  • davidcurrie2001 (1)
  • AndyCampbell (1)
  • Franvgls (1)

Top Pull Request Authors

  • colinpmillar (11)
  • arni-magnusson (2)
  • alko989 (1)
  • slarge (1)
  • AlbanSagouis (1)
  • jeroen (1)
  • odontaster (1)

Top Issue Labels

  • bug (5)
  • api issue (1)
  • enhancement (1)

Top Pull Request Labels


Package metadata

cran.r-project.org: icesDatras

DATRAS Trawl Survey Database Web Services

  • Homepage: https://datras.ices.dk/WebServices/Webservices.aspx
  • Documentation: http://cran.r-project.org/web/packages/icesDatras/icesDatras.pdf
  • Licenses: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
  • Latest release: 1.4.1 (published almost 2 years ago)
  • Last Synced: 2025-04-29T15:33:21.715Z (1 day ago)
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 2
  • Downloads: 260 Last month
  • Rankings:
    • Forks count: 7.957%
    • Stargazers count: 15.095%
    • Dependent repos count: 19.154%
    • Average: 23.358%
    • Dependent packages count: 28.64%
    • Downloads: 45.942%
  • Maintainers (1)

Dependencies

DESCRIPTION cran
  • utils * imports
  • icesVocab * suggests

Score: 10.424184296097382