ChangeLog 8.74 KB
Newer Older
Enrico Schumann's avatar
Enrico Schumann committed
1 2 3 4 5 6 7 8 9
2019-06-14  Enrico Schumann  <es@enricoschumann.net>

        * DESCRIPTION (Version): 0.6-3

        * R/functions.R (read_ts_tables): fixed --
        column names are no longer corrected by
        'read.table' (i.e. check.names is now set to
        FALSE)

Enrico Schumann's avatar
Enrico Schumann committed
10 11
2019-03-21  Enrico Schumann  <es@enricoschumann.net>

Enrico Schumann's avatar
Enrico Schumann committed
12
        * DESCRIPTION (Version): 0.6-0
13

14 15 16 17 18 19 20 21 22 23
        * NAMESPACE: import 'datetimeutils::roundPOSIXt'

        * R/functions.R (read_ts_tables): rename
        argument 'fread' to 'read.fn', with default
        NULL. To use package 'data.table', set it to
        "fread".
        (read_ts_tables): fixed -- 'drop.weekends'
        now works for intraday data
        (read_ts_tables): new argument 'frequency',
        used only for intraday data
24

25 26
2019-03-11  Enrico Schumann  <es@enricoschumann.net>

27
        * R/functions.R (as.ts_table.ts_table): add method
28

29 30
2019-02-14  Enrico Schumann  <es@enricoschumann.net>

31 32
        * DESCRIPTION (Imports, Suggests): move package
        DBI to Suggests
33

34 35 36 37 38 39 40 41 42 43 44 45 46 47
2018-11-21  Enrico Schumann  <es@enricoschumann.net>

        * R/functions.R (write_ts_table): fix 'add' for
        series going back before 1 Jan 1970. When data
        was added to such a series, the history before
        1970 was not rewritten (i.e. deleted)
        (write_ts_tables): no longer set 'scipen',
        i.e. numbers may now be written with scientific
        notation, e.g. 1e10
        (read_ts_tables): add 'ts_table' as a
        'return.class'
        (read_ts_tables): when start is missing, read
        oldest timestamp from file from

48 49
2018-03-21  Enrico Schumann  <es@enricoschumann.net>

50
        * R/functions.R (write_ts_table): with
Enrico Schumann's avatar
Enrico Schumann committed
51
        'replace.file' set to TRUE, check whether files
52 53
        exists before removal (this avoids the warning
        about non-existing files)
54

Enrico Schumann's avatar
Enrico Schumann committed
55 56
2018-02-02  Enrico Schumann  <es@enricoschumann.net>

57
        * inst/tests/write_read.R: add timing test
Enrico Schumann's avatar
Enrico Schumann committed
58

59 60
2018-02-01  Enrico Schumann  <es@enricoschumann.net>

61 62 63
        * R/functions.R (read_ts_tables): experimental
        new argument 'fread'; if TRUE, files are read
        with data.table::fread instead of read.table
64

Enrico Schumann's avatar
Enrico Schumann committed
65 66
2017-12-11  Enrico Schumann  <es@enricoschumann.net>

67
        * NAMESPACE: export 'ttime'
Enrico Schumann's avatar
Enrico Schumann committed
68

69 70
2017-11-16  Enrico Schumann  <es@enricoschumann.net>

71 72 73 74
        * R/functions.R (write_ts_table): new argument
        'replace.file', with default FALSE. If TRUE,
        the specified file is *deleted* and then
        replaced by the new ts_table
75

76 77
2017-11-14  Enrico Schumann  <es@enricoschumann.net>

78 79
        * R/functions.R (file_info): simplify code;
        return 't.type' as part of file information
80

Enrico Schumann's avatar
Enrico Schumann committed
81 82
2017-10-24  Enrico Schumann  <es@enricoschumann.net>

83
        * DESCRIPTION (Version): 0.5-0
Enrico Schumann's avatar
Enrico Schumann committed
84

85 86 87
        * R/functions.R (ts_table): store timestamp as
        numeric (which reverts the change introduced in
        version 0.4-7; see ChangeLog 2017-05-22)
Enrico Schumann's avatar
Enrico Schumann committed
88

89
        * R/functions.R (as.zoo.ts_table): fix method
Enrico Schumann's avatar
Enrico Schumann committed
90

91 92
        * inst/unitTests/ut_write_read.R
        (test.ts_table): fix unit tests
Enrico Schumann's avatar
Enrico Schumann committed
93

94 95 96
        * R/functions.R (ttime): 'strip.attr' is TRUE
        by default (i.e. a timezone attribute is
        dropped)
Enrico Schumann's avatar
Enrico Schumann committed
97

98 99
2017-09-14  Enrico Schumann  <es@enricoschumann.net>

100 101 102 103 104 105 106 107
        * R/functions.R (file_info): return more
        information about files; the function also does
        not fail anymore if a file does not exist, but
        reports the file as missing
        (write_ts_table): fix add/overwrite: when these
        options were TRUE but the file did not exist,
        the function raised an error. Now the data are
        written.
108

109 110
2017-06-08  Enrico Schumann  <es@enricoschumann.net>

111 112
        * R/functions.R (read_ts_tables): rename
        argument 'column.name' to 'column.names' (plural)
113

114 115
2017-05-26  Enrico Schumann  <es@enricoschumann.net>

116 117
        * R/functions.R (write_ts_table): rename first
        element to 'ts'
118

Enrico Schumann's avatar
Enrico Schumann committed
119 120
2017-05-26  Enrico Schumann  <es@enricoschumann.net>

121
        * DESCRIPTION (Version): 0.4-8
Enrico Schumann's avatar
Enrico Schumann committed
122

123 124
        * R/functions.R (write_ts_table): simplify code
        for add/overwrite
Enrico Schumann's avatar
Enrico Schumann committed
125

126
        * man/write_ts_table.Rd: update docs
Enrico Schumann's avatar
Enrico Schumann committed
127

Enrico Schumann's avatar
Enrico Schumann committed
128 129
2017-05-22  Enrico Schumann  <es@enricoschumann.net>

130
        * DESCRIPTION (Version): 0.4-7
Enrico Schumann's avatar
Enrico Schumann committed
131

132 133 134 135 136
        * R/functions.R (ts_table): attribute
        'timestamp' is now the actual datetime vector,
        not its numeric representation (this reverts
        some changes introduced with ChangeLog entry
        of 2016-12-09)
Enrico Schumann's avatar
Enrico Schumann committed
137

138 139
        * R/functions.R (ts_table): explicitly unname
        'x' (i.e. drop column and row names)
Enrico Schumann's avatar
Enrico Schumann committed
140 141 142

2017-05-16  Enrico Schumann  <es@enricoschumann.net>

143 144 145
        * R/functions.R (write_ts_table): have empty
        files written (such files will only contain one
        line, the headers)
Enrico Schumann's avatar
Enrico Schumann committed
146

147 148 149
        * inst/unitTests/ut_write_read.R
        (test.write_ts_table): add checks for writing
        an empty file
Enrico Schumann's avatar
Enrico Schumann committed
150

Enrico Schumann's avatar
Enrico Schumann committed
151 152
2017-05-13  Enrico Schumann  <es@enricoschumann.net>

153
        * DESCRIPTION (Version): 0.4-6
Enrico Schumann's avatar
Enrico Schumann committed
154 155

2017-05-10  Enrico Schumann  <es@enricoschumann.net>
156

157 158 159
        * R/functions.R (read_ts_tables): safeguard for
        empty files
        (file_info): add function
160

161 162
        * inst/unitTests/ut_write_read.R
        (test.read_ts_tables): add test for empty files
163

164 165
2017-05-09  Enrico Schumann  <es@enricoschumann.net>

166
        * DESCRIPTION (Version): 0.4-5
Enrico Schumann's avatar
Enrico Schumann committed
167

168 169
        * R/functions.R (write_ts_table): suppress
        scientific notation when writing to file
Enrico Schumann's avatar
Enrico Schumann committed
170

171 172 173 174
        * R/functions.R (write_ts_table): when ts_table
        has zero rows, return(0) at once
        (print.ts_table): suppress warnings when
        ts_table has zero rows
175

Enrico Schumann's avatar
Enrico Schumann committed
176 177
2017-05-08  Enrico Schumann  <es@enricoschumann.net>

178 179
        * DESCRIPTION (Version): 0.4-4
        (Suggests): add MonetDBLite
Enrico Schumann's avatar
Enrico Schumann committed
180

181 182
        * R/functions.R (read_ts_tables): update for
        changes in package datetimeutils (0.2-0)
Enrico Schumann's avatar
Enrico Schumann committed
183

184 185
2017-03-31  Enrico Schumann  <es@enricoschumann.net>

186
        * DESCRIPTION (Version): 0.4-3
187

188 189 190
        * R/functions.R (write_ts_table): fix handling
        of argument 'overwrite': it had been
        ignored (reported by Torsten von Bartenwerffer)
191

Enrico Schumann's avatar
Enrico Schumann committed
192 193
2017-03-16  Enrico Schumann  <es@enricoschumann.net>

194 195 196 197
        * R/functions.R (.columns, `.columns<-`)
        (.t.type, `.t.type<-`): add internal functions
        (write_ts_table): new argument 'backend'
        (read_ts_tables): new argument 'backend'
Enrico Schumann's avatar
Enrico Schumann committed
198

199
        * NAMESPACE: import from package DBI
Enrico Schumann's avatar
Enrico Schumann committed
200

201
        * R/functions.R (as.matrix.ts_table): add method
Enrico Schumann's avatar
Enrico Schumann committed
202

Enrico Schumann's avatar
Enrico Schumann committed
203 204 205
2017-02-06  Enrico Schumann  <es@enricoschumann.net>

        * DESCRIPTION (Version): 0.4-1
Enrico Schumann's avatar
Enrico Schumann committed
206

207 208 209
        * R/functions.R (read_ts_tables): new argument
        'column.name' that specifies the pattern of column
        names in results
Enrico Schumann's avatar
Enrico Schumann committed
210 211 212 213 214

2017-01-04  Enrico Schumann  <es@enricoschumann.net>

        * DESCRIPTION (Version): 0.3-1

215 216 217
        * R/functions.R (read_ts_tables): if 'start' is
        missing, use 1970-1-1 (instead of the previous
        365 days)
Enrico Schumann's avatar
Enrico Schumann committed
218 219 220

2016-12-16  Enrico Schumann  <es@enricoschumann.net>

221 222
        * R/functions.R (read_ts_tables): fix naming of
        series when 'return.class' is 'zoo'
Enrico Schumann's avatar
Enrico Schumann committed
223 224 225

2016-12-10  Enrico Schumann  <es@enricoschumann.net>

226
        * DESCRIPTION (Version): 0.3-0
Enrico Schumann's avatar
Enrico Schumann committed
227

228 229 230
        * R/functions.R (write_ts_table): new argument
        'add'. If TRUE, only data for timestamps not in
        a file is added.
Enrico Schumann's avatar
Enrico Schumann committed
231 232 233

2016-12-09  Enrico Schumann  <es@enricoschumann.net>

234
        * DESCRIPTION (Version): Version: 0.2-1
Enrico Schumann's avatar
Enrico Schumann committed
235

236 237 238 239 240
        * R/functions.R (ts_table): store timestamp as
        numeric; add new attribute 't.type' (either
        Date or POSIXct)
        (.timestamp): internal function
        (`.timestamp<-`): internal function
Enrico Schumann's avatar
Enrico Schumann committed
241 242 243

2016-12-07  Enrico Schumann  <es@enricoschumann.net>

244 245
        * inst/Tutorial/README.org: move README to
        inst/Tutorial
Enrico Schumann's avatar
Enrico Schumann committed
246 247 248

2016-12-05  Enrico Schumann  <es@enricoschumann.net>

249
        * DESCRIPTION (Version): 0.2-0
Enrico Schumann's avatar
Enrico Schumann committed
250

251
        * README.org: add file
Enrico Schumann's avatar
Enrico Schumann committed
252

253 254
        * NAMESPACE: export only 'read_ts_tables',
        'write_ts_table', 'ts_table', 'as.ts_table'
Enrico Schumann's avatar
Enrico Schumann committed
255

256 257
        * R/functions.R (read_ts_tables): support
        reading several columns from files
Enrico Schumann's avatar
Enrico Schumann committed
258

259 260
        * R/functions.R (as.zoo.ts_table): export
        method
Enrico Schumann's avatar
Enrico Schumann committed
261

262
        * man/*: add help files for all functions
Enrico Schumann's avatar
Enrico Schumann committed
263

264 265
        * inst/unitTests/ut_write_read.R
        (test.ts_table): add unit tests
Enrico Schumann's avatar
Enrico Schumann committed
266 267 268

2016-12-01  Enrico Schumann  <es@enricoschumann.net>

269
        * man/read_ts_tables.Rd: add help file
Enrico Schumann's avatar
Enrico Schumann committed
270 271 272

2016-11-30  Enrico Schumann  <es@enricoschumann.net>

273
        * NAMESPACE: import datetimeutils::isBusinessDay
Enrico Schumann's avatar
Enrico Schumann committed
274 275 276

2016-11-25  Enrico Schumann  <es@enricoschumann.net>

277
        * DESCRIPTION (Version): 0.1-1
Enrico Schumann's avatar
Enrico Schumann committed
278

279 280 281
        * R/functions.R (as.ts_table): add function
        (as.ts_table.zoo): add method
        (as.zoo.ts_table): add method
Enrico Schumann's avatar
Enrico Schumann committed
282 283 284

2016-11-24  Enrico Schumann  <es@enricoschumann.net>

285 286 287 288 289 290
        * R/functions.R (ttime): add function
        (write_ts_table): add function
        (read_ts_tables): add function
        (ts_table): add function
        (as.data.frame.ts_table, print.ts_table): add
        methods