-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update NEWS based on commits in PR #2
- Loading branch information
Showing
1 changed file
with
107 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,110 @@ | ||
# Latest changes | ||
## kwb.en13508.2 v0.3.0 (2024-03-28) | ||
|
||
* Harmonise with [kwb.pkgbuild](https://kwb-r.github.io/kwb.pkgbuild) | ||
* Add argument check.encoding to eadEuCodedFile() | ||
### General | ||
|
||
* use GitHub Actions instead of Travis and AppVeyor | ||
* rewrite README.md (where has the original content gone?) | ||
* add tests | ||
* move function definitions between files | ||
|
||
### Modifications to data files in the package | ||
|
||
* add material codes to eucodes.csv and save as UTF-8 | ||
* add eucodes_full.csv file with main_code/char_1/char_2 combinations | ||
* describe more fields in column-names.csv | ||
* specify quantification 1 as numeric | ||
|
||
### Modifications to (exported or private) functions (in alphabetical order) | ||
|
||
* extractInspectionBlocks | ||
- rename argument "quoteCharacter" to "quote" | ||
* extractObservationBlocks() | ||
- add a last "to" value if the last EU-line is not "#Z" | ||
* extractObservationData() | ||
- add arguments "file", "as.text" | ||
- remove empty records from table of observations | ||
- run readObservationsFromCsvText() with "colClasses" being set to the | ||
expected column types | ||
* get_code_meanings() | ||
- rename to getCodeMeanings() | ||
* getCodes() | ||
- allow "table" to be a vector of table names | ||
- stop if table name does not exist | ||
- reset the row names | ||
* getInspectionHeaderInfo() | ||
- rename to getInspectionHeaderInfo_v1() | ||
* getInspectionHeaderInfo2() | ||
- rename to getInspectionHeaderInfo_v2() | ||
- use new argument "version" instead of old argument "getInfo" | ||
* getInspectionRecords_v2() | ||
- use normal console output instead of message | ||
* getInspectionsFromEuLines() | ||
- add argument "dbg" to control whether to show a message or not | ||
- rename to getInspectionRecords_v1() | ||
* getInspectionsFromEuLines.new() | ||
- rename to getInspectionRecords_v2() | ||
* getObservationsFromEuLines() | ||
- order columns by name, put column “inspno” first | ||
* mergeInspectionData() | ||
- add arguments "warn", "naToEmpty" | ||
* readAndMergeEuCodedFiles() | ||
- add arguments "add.inspid", "error.file" to optionally add globally unique | ||
inspection IDs and to specify where to store related error messages | ||
- add arguments "project", "default.time", "name.convention" | ||
- clean code | ||
- fix typo in warning | ||
* readEuCodedFile() | ||
- add arguments "name.convention", "file.encoding", "check.encoding" | ||
- change default value of argument "encoding" from "latin1" to "unknown" | ||
- use new function extractObservationData() to read observation data if the | ||
original function getObservationsFromEuLines() fails | ||
- pass "dbg" through to getInspectionsFromEuLines(), removeEmptyLines() | ||
- refactor | ||
* readEuCodedFiles() | ||
- let "file" be the first column | ||
- in the error message, report on files that failed to be imported | ||
* readObservationsFromCsvText() | ||
- reduce "colClasses" to columns that actually occur | ||
* removeEmptyLines() | ||
- clean code | ||
* textblockToDataframe() | ||
- rename argument "quoteCharacter" to "quote" | ||
* warnOnDifferingHeaders() | ||
- improve output | ||
|
||
# kwb.en13508.2 0.2.0.9000 | ||
### Add exported functions | ||
|
||
* getObservationsFromEuLines: Order columns by name, put column “inspno” first. | ||
* Added a NEWS.md file to track changes to the package. | ||
* see http://style.tidyverse.org/news.html for writing a good NEWS.md | ||
* getLineDamageInfo() | ||
- moved from kwb.rerau | ||
- allow for C-codes (change in continuous defect) in this function | ||
|
||
### Add private functions | ||
|
||
* createHashFromColumns() | ||
* extdataFile() | ||
* extractObservationBlocks() | ||
* extractObservationData() | ||
* getExampleData() | ||
* getExampleFile() | ||
* getFileHeaderFromEuLines() | ||
* getHeaderInfo() | ||
* getInspectionHeaderInfo2() | ||
* getInspectionRecordsFromEuLines() | ||
* getObservationRecordsFromEuLines() | ||
* readFileEncodingFromHeader() | ||
* readObservationsFromCsvText() | ||
* setFilename() | ||
* setGlobalInspectionID() | ||
* toEuFormat() | ||
|
||
### Remove private functions | ||
|
||
* getHeaderLinesFromEuCodedLines() | ||
* getHeaderInfroFromHeaderLines() | ||
* order_by() | ||
|
||
## kwb.en13508.2 v0.2.0.9000 (2019-09-09) | ||
|
||
* Add a NEWS.md file to track changes to the package. | ||
See http://style.tidyverse.org/news.html for writing a good NEWS.md | ||
* Harmonise with [kwb.pkgbuild](https://kwb-r.github.io/kwb.pkgbuild) |