Skip to content

Commit

Permalink
Check and correct NEWS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hsonne committed Mar 29, 2024
1 parent 79b8d66 commit 4d0bc92
Showing 1 changed file with 14 additions and 24 deletions.
38 changes: 14 additions & 24 deletions NEWS.md
Expand Up @@ -10,21 +10,13 @@
### 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
* add eucodes_full_de.csv file with main_code/char_1/char_2 combinations
* in eucodes_de.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()
Expand All @@ -33,14 +25,9 @@
- 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()
- add argument "dbg" to control whether to show a message or not
* getInspectionsFromEuLines.new()
- rename to getInspectionRecords_v2()
* getObservationsFromEuLines()
Expand All @@ -51,20 +38,17 @@
- 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
- clean code
* 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()
- use new function getObservationRecordsFromEuLines()
- pass "dbg" through to removeEmptyLines(), getInspectionRecordsFromEuLines()
- 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()
Expand All @@ -83,24 +67,30 @@
* createHashFromColumns()
* extdataFile()
* extractObservationBlocks()
- add a last "to" value if the last EU-line is not "#Z"
* extractObservationData()
- remove empty records from table of observations
- run readObservationsFromCsvText() with "colClasses" being set to the
expected column types or to "character" if as.text is TRUE
* getExampleData()
* getExampleFile()
* getFileHeaderFromEuLines()
* getHeaderInfo()
* getInspectionHeaderInfo2()
* getInspectionHeaderInfo_v2()
* getInspectionRecordsFromEuLines()
* getObservationRecordsFromEuLines()
- call extractObservationData() if calling getObservationsFromEuLines() fails
* readFileEncodingFromHeader()
* readObservationsFromCsvText()
- reduce "colClasses" to columns that actually occur
* setFilename()
* setGlobalInspectionID()
* toEuFormat()

### Remove private functions

* getHeaderLinesFromEuCodedLines()
* getHeaderInfroFromHeaderLines()
* getHeaderInfoFromHeaderLines()
* order_by()

## kwb.en13508.2 v0.2.0.9000 (2019-09-09)
Expand Down

0 comments on commit 4d0bc92

Please sign in to comment.