Skip to content

Commit cb09306

Browse files
committed
prep for release
1 parent 82c4f40 commit cb09306

2 files changed

Lines changed: 29 additions & 1 deletion

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: comlandr
22
Title: Pulls and processes commercial fishing data from the Northeast US
3-
Version: 1.0.0
3+
Version: 1.1.0
44
Authors@R: c(person(given = "Sean",
55
family = "Lucey",
66
role = c("aut")),

NEWS.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
# comlandr 1.1.0
2+
3+
Previous version of package pulled from a deprecated time series. It was then hard coded in the package as a lazyloaded dataset, with a manual updating process.
4+
This has been replaced with a workflow to pull the data stream via API. To ensure even if API fails there is economic data available
5+
6+
## Minor changes
7+
8+
* Use the Federal reserve bank of st louis price deflator. https://fred.stlouisfed.org/series/WPU0223. This is a monthly index.
9+
* `adjust_inflation.r` edited to use this data stream.
10+
* Add argument checks in `check_argument_validation.r` to throw an error if reference values for Month and/or Year fall outside the data set.
11+
* Workflow (`getFred.yaml`) sends email every month to report if the economic data has changed, runs on a schedule 20th of the month since data is updated on 16th of month
12+
* compares data in repo and new pulled data (`compare_fred_data` & `get_fred`)
13+
* sends email report (`sendAsEmail.rmd`)
14+
* Add rmd to document schemas used
15+
16+
## Bug fixes
17+
18+
* Many of the data tables used in the supporting functions have been moved from NEFSC to GARFO (Schema changes).
19+
Changes to reflect this have been made in several of the `get` functions
20+
* `refYear` and `refMonth` allowed to both be `NA` or both not `NA` PR
21+
* Can not have either `refYear` and `refMonth` to be `NA` if other is not.
22+
* A change in `data.table` resulted in a string names to be converted to a vector for use in join statements.
23+
24+
## New functions
25+
26+
* `get_species_stock_area.r` - Extrats statistical areas that comprise species stock definition
27+
28+
129
# comlandr 1.0.0
230

331
A significant overhaul to the layout and structure of the package.

0 commit comments

Comments
 (0)