Skip to content

Commit 79b8d66

Browse files
committed
Update NEWS based on commits in PR #2
1 parent 7b79946 commit 79b8d66

File tree

1 file changed

+107
-7
lines changed

1 file changed

+107
-7
lines changed

NEWS.md

+107-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,110 @@
1-
# Latest changes
1+
## kwb.en13508.2 v0.3.0 (2024-03-28)
22

3-
* Harmonise with [kwb.pkgbuild](https://kwb-r.github.io/kwb.pkgbuild)
4-
* Add argument check.encoding to eadEuCodedFile()
3+
### General
4+
5+
* use GitHub Actions instead of Travis and AppVeyor
6+
* rewrite README.md (where has the original content gone?)
7+
* add tests
8+
* move function definitions between files
9+
10+
### Modifications to data files in the package
11+
12+
* 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
16+
17+
### Modifications to (exported or private) functions (in alphabetical order)
18+
19+
* extractInspectionBlocks
20+
- 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
28+
* get_code_meanings()
29+
- rename to getCodeMeanings()
30+
* getCodes()
31+
- allow "table" to be a vector of table names
32+
- stop if table name does not exist
33+
- reset the row names
34+
* getInspectionHeaderInfo()
35+
- 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
41+
* getInspectionsFromEuLines()
42+
- add argument "dbg" to control whether to show a message or not
43+
- rename to getInspectionRecords_v1()
44+
* getInspectionsFromEuLines.new()
45+
- rename to getInspectionRecords_v2()
46+
* getObservationsFromEuLines()
47+
- order columns by name, put column “inspno” first
48+
* mergeInspectionData()
49+
- add arguments "warn", "naToEmpty"
50+
* readAndMergeEuCodedFiles()
51+
- add arguments "add.inspid", "error.file" to optionally add globally unique
52+
inspection IDs and to specify where to store related error messages
53+
- add arguments "project", "default.time", "name.convention"
54+
- clean code
55+
- fix typo in warning
56+
* readEuCodedFile()
57+
- add arguments "name.convention", "file.encoding", "check.encoding"
58+
- 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()
62+
- refactor
63+
* readEuCodedFiles()
64+
- let "file" be the first column
65+
- in the error message, report on files that failed to be imported
66+
* readObservationsFromCsvText()
67+
- reduce "colClasses" to columns that actually occur
68+
* removeEmptyLines()
69+
- clean code
70+
* textblockToDataframe()
71+
- rename argument "quoteCharacter" to "quote"
72+
* warnOnDifferingHeaders()
73+
- improve output
574

6-
# kwb.en13508.2 0.2.0.9000
75+
### Add exported functions
776

8-
* getObservationsFromEuLines: Order columns by name, put column “inspno” first.
9-
* Added a NEWS.md file to track changes to the package.
10-
* see http://style.tidyverse.org/news.html for writing a good NEWS.md
77+
* getLineDamageInfo()
78+
- moved from kwb.rerau
79+
- allow for C-codes (change in continuous defect) in this function
80+
81+
### Add private functions
82+
83+
* createHashFromColumns()
84+
* extdataFile()
85+
* extractObservationBlocks()
86+
* extractObservationData()
87+
* getExampleData()
88+
* getExampleFile()
89+
* getFileHeaderFromEuLines()
90+
* getHeaderInfo()
91+
* getInspectionHeaderInfo2()
92+
* getInspectionRecordsFromEuLines()
93+
* getObservationRecordsFromEuLines()
94+
* readFileEncodingFromHeader()
95+
* readObservationsFromCsvText()
96+
* setFilename()
97+
* setGlobalInspectionID()
98+
* toEuFormat()
99+
100+
### Remove private functions
101+
102+
* getHeaderLinesFromEuCodedLines()
103+
* getHeaderInfroFromHeaderLines()
104+
* order_by()
105+
106+
## kwb.en13508.2 v0.2.0.9000 (2019-09-09)
107+
108+
* Add a NEWS.md file to track changes to the package.
109+
See http://style.tidyverse.org/news.html for writing a good NEWS.md
110+
* Harmonise with [kwb.pkgbuild](https://kwb-r.github.io/kwb.pkgbuild)

0 commit comments

Comments
 (0)