Skip to content

Commit

Permalink
Merge pull request #155 from StoXProject/catchLotteryStox4
Browse files Browse the repository at this point in the history
Catch lottery stox4
  • Loading branch information
edvinf authored Jan 5, 2025
2 parents c549e2b + 777dc5b commit c5c742b
Show file tree
Hide file tree
Showing 20 changed files with 1,121 additions and 149 deletions.
97 changes: 0 additions & 97 deletions .github/workflows/test-coverage.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: RstoxFDA
Version: 1.5.0-9003
Date: 2024-12-27
Date: 2024-12-28
Title: Fisheries Dependent Analysis with RstoX
Authors@R: c(
person(given = "Edvin",
Expand Down
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ export(DefinePeriod)
export(DefineSamplingHierarchy)
export(DefineStockSplittingParameters)
export(DefineWeightConversionFactor)
export(ExtendAnalyticalSamplingFrameCoverage)
export(FilterAgeLengthOutliersStoxBiotic)
export(FilterWeightLengthOutliersStoxBiotic)
export(InterpolateAnalyticalDomainEstimates)
export(LiftStrata)
export(ListBioticDifference)
export(LoadFdaStratumPolygon)
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# 1.5.0-9003
* Added functions for sampling frame expansion (ExtendAnalyticalSamplingFrameCoverage), and domain interpolation (InterpolateAnalyticalDomainEstimates) (#154)
* Changed how Stratification variables and Domain variables are matched to landings with AnalyticalRatioEstimate (# 125)
* Replaced DefinePSUSamplingParameters (processdata) with ComputePSUSamplingParameters (no processdata) and ReadPSUSamplingParameters (no processdata). This change breaks some pre-release projects (v. v1.3-9006). (#127)
* Replaced DefineIndividualSamplingParameters (processdata) with ComputeIndividualSamplingParameters (no processdata). This change breaks some pre-release projects (v. v1.3-9006).
* Added documentation for ECA convergence analsysis (#153)
* Fixed issue with reporting IndividualAge as SamplingVariable in ReportFdaSampling (#146)
* Fixed issue with running RunRecaModels with temporal resolution 'month' (#144)
* Fixed issue with plotting with other column variables than 'Area' in PlotFisheriesOverviewSpatial (#147)
* Fixed naming of age groups in reports from analytical estimates (#145)
* Fixed documentation for handling NA age groups (#151)
* Fixed issue with using integer columns in landings as stratification column in ratio estimates (#133)
Expand Down
2 changes: 1 addition & 1 deletion R/StoxAnalysisFunctions.R
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ getLandingsFromStoxLandings <- function(RecaParameterData, StoxLandingData, Temp
quarter <- data.table::quarter(StoxLandingData$Landing$CatchDate)
}
else if (TemporalResolution == "Month"){
month <- month(StoxLandingData$Landing$CatchDate)
month <- data.table::month(StoxLandingData$Landing$CatchDate)
}
else if (TemporalResolution == "Day"){
date <- StoxLandingData$Landing$CatchDate
Expand Down
Loading

0 comments on commit c5c742b

Please sign in to comment.