Skip to content

Commit 4d0bc92

Browse files
committed
Check and correct NEWS.md
1 parent 79b8d66 commit 4d0bc92

File tree

1 file changed

+14
-24
lines changed

1 file changed

+14
-24
lines changed

NEWS.md

+14-24
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,13 @@
1010
### Modifications to data files in the package
1111

1212
* add material codes to eucodes.csv and save as UTF-8
13-
* add eucodes_full.csv file with main_code/char_1/char_2 combinations
14-
* describe more fields in column-names.csv
15-
* specify quantification 1 as numeric
13+
* add eucodes_full_de.csv file with main_code/char_1/char_2 combinations
14+
* in eucodes_de.csv, specify quantification 1 as numeric
1615

1716
### Modifications to (exported or private) functions (in alphabetical order)
1817

1918
* extractInspectionBlocks
2019
- rename argument "quoteCharacter" to "quote"
21-
* extractObservationBlocks()
22-
- add a last "to" value if the last EU-line is not "#Z"
23-
* extractObservationData()
24-
- add arguments "file", "as.text"
25-
- remove empty records from table of observations
26-
- run readObservationsFromCsvText() with "colClasses" being set to the
27-
expected column types
2820
* get_code_meanings()
2921
- rename to getCodeMeanings()
3022
* getCodes()
@@ -33,14 +25,9 @@
3325
- reset the row names
3426
* getInspectionHeaderInfo()
3527
- rename to getInspectionHeaderInfo_v1()
36-
* getInspectionHeaderInfo2()
37-
- rename to getInspectionHeaderInfo_v2()
38-
- use new argument "version" instead of old argument "getInfo"
39-
* getInspectionRecords_v2()
40-
- use normal console output instead of message
4128
* getInspectionsFromEuLines()
42-
- add argument "dbg" to control whether to show a message or not
4329
- rename to getInspectionRecords_v1()
30+
- add argument "dbg" to control whether to show a message or not
4431
* getInspectionsFromEuLines.new()
4532
- rename to getInspectionRecords_v2()
4633
* getObservationsFromEuLines()
@@ -51,20 +38,17 @@
5138
- add arguments "add.inspid", "error.file" to optionally add globally unique
5239
inspection IDs and to specify where to store related error messages
5340
- add arguments "project", "default.time", "name.convention"
54-
- clean code
5541
- fix typo in warning
42+
- clean code
5643
* readEuCodedFile()
5744
- add arguments "name.convention", "file.encoding", "check.encoding"
5845
- change default value of argument "encoding" from "latin1" to "unknown"
59-
- use new function extractObservationData() to read observation data if the
60-
original function getObservationsFromEuLines() fails
61-
- pass "dbg" through to getInspectionsFromEuLines(), removeEmptyLines()
46+
- use new function getObservationRecordsFromEuLines()
47+
- pass "dbg" through to removeEmptyLines(), getInspectionRecordsFromEuLines()
6248
- refactor
6349
* readEuCodedFiles()
6450
- let "file" be the first column
6551
- in the error message, report on files that failed to be imported
66-
* readObservationsFromCsvText()
67-
- reduce "colClasses" to columns that actually occur
6852
* removeEmptyLines()
6953
- clean code
7054
* textblockToDataframe()
@@ -83,24 +67,30 @@
8367
* createHashFromColumns()
8468
* extdataFile()
8569
* extractObservationBlocks()
70+
- add a last "to" value if the last EU-line is not "#Z"
8671
* extractObservationData()
72+
- remove empty records from table of observations
73+
- run readObservationsFromCsvText() with "colClasses" being set to the
74+
expected column types or to "character" if as.text is TRUE
8775
* getExampleData()
8876
* getExampleFile()
8977
* getFileHeaderFromEuLines()
9078
* getHeaderInfo()
91-
* getInspectionHeaderInfo2()
79+
* getInspectionHeaderInfo_v2()
9280
* getInspectionRecordsFromEuLines()
9381
* getObservationRecordsFromEuLines()
82+
- call extractObservationData() if calling getObservationsFromEuLines() fails
9483
* readFileEncodingFromHeader()
9584
* readObservationsFromCsvText()
85+
- reduce "colClasses" to columns that actually occur
9686
* setFilename()
9787
* setGlobalInspectionID()
9888
* toEuFormat()
9989

10090
### Remove private functions
10191

10292
* getHeaderLinesFromEuCodedLines()
103-
* getHeaderInfroFromHeaderLines()
93+
* getHeaderInfoFromHeaderLines()
10494
* order_by()
10595

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

0 commit comments

Comments
 (0)