NEWS
tis 1.39 (2021-09-28)
- Add Juneteenth
- Add 2020 recession
tis 1.38 (2020-02-10)
- Get rid of nbershade.ggplot
tis 1.37 (2019-02-07)
- Adjust some more examples
- Fix couldBeTi
tis 1.36
tis 1.35
- Remove makevars files to comply with cran
- add in check in baseYmd to make sure tif is a whole number
tis 1.34 (2017-12-19)
- Add tis_init.c to eliminate note in cran checks
tis 1.33
- adjusted convert to properly account for period bounderies when using businessday
data types from fame
- Removed format.POSIXct, format.POSIXlt, format.default from being exported
tis 1.32 (2017-01-25)
- tisPlot() and scatterPlot() parameters xExpandBy, leftExpandBy,
rightExpandBy and yExpandBy can now be a vector of two numbers to expand the
data range asymmetrically.
- tisFromCsv() was bombing when dateFormat = "excel" was given.
- created a non-exported is.numeric.ti() that returns FALSE and explicitly
exported as.Date.jul and as.Date.ti to prevent the zoo package's
reimplementation of the generic as.Date from incorrectly sending ti
arguments to zoo::as.Date.numeric().
tis 1.31
- Added 'offset' arg to as.Date.ti, and 'origin' arg to as.Date.jul. Request
of Andre Mikulec.
- Fixed minor bug in barplot.tis()
tis 1.30 (2015-06-09)
- Added tis methods for head() and tail().
tis 1.29
- Removed aggregate.ts() function, which was a modified version of the same-named function
in package:stats. Also modified aggregate.tis() to prefer a local version of
aggregate.ts to the one in package:stats.
- Registered S3 method t.tis()
tis 1.28
- Added tz argument to tisFromCsv() and added logic to handle date strings that can't be
turned into valid dates. Thanks again to Ying Leung for reporting the problem that led
to the discovery of a bug.
- Added naLoses argument to mergeSeries(), with default value of FALSE for backward compatibility.
tis 1.27 (2014-10-19)
- Fixed bug in tisFromCsv() reported by Ying Leung. Also added chopNAs parameter to that
function.
- Changed name of ymd.xy() to ymdXy() to keep the CRAN checker happy.
tis 1.26
- now exports the barplot2() function called by barplot.tis
tis 1.25
- new capitalize() function moved here from the another package.
- new functions ymd.xy() and ymdShade() generalize the old nber.xy() (now defunct) and
nberShade() functions to shade arbitrary date ranges on tisPlots, not just NBER
recessions.
- changed names of "nber" arguments to tisPlot() to reflect the more general date range
shading functionality.
tis 1.24
- freq2tif() gave wrong answer for frequency = 261, business day freq.
- tierChart(vlines.month) now draws vertical line after the last day of the month, rather
than after the first day of the month.
tis 1.23 (2013-01-08)
- added some support for IDate objects from the data.table package.
- added isBusinessDay() function at the suggestion of Adam Hogan.
- fixed a bug in inferDate() that was causing tisFromCsv() to misbehave
tis 1.22 (2012-04-17)
- defined some variables locally in nberShade.ggplot() to avoid spurious R
CMD check warnings.
tis 1.21
- changed name of as.list.keepClass() to asClassyList() to placate CRAN
tis 1.20
- fixed bug in assignList()
tis 1.19 (2012-04-06)
- added xOffset argument to tisPlot()
- fixed a bug in nberShade.ggplot() found by Matthew McCormick. Thanks, Matt.
tis 1.18 (2011-12-30)
- added a tis method for the generic barplot() function
- moved tierChart functions from local frb package to tis package
tis 1.17 (2011-04-07)
- ymdToTi() (an internal function in ti.R) for frequencies bmnovember,
qoctober and qnovember was giving results that were off by one period,
causing convert() to give wrong results when aggregating to those
frequencies. Thanks again to Abiel Reinhart for reporting the problem.
- changed "env = envir" to "envir = envir" in several places to avoid
package check complaints about partial matches
tis 1.16
- more bugs in convert() reported by Abiel Reinhart
tis 1.15 (2010-11-27)
- fixed bug in convert() reported by Abiel Reinhart
tis 1.14 (2010-11-18)
- added as.POSIXct.jul and as.POSIXct.ti methods
tis 1.13
- make "[<-.tis" a bit smarter when only a single index is supplied
tis 1.12 (2010-05-08)
- fixed bugs in "[.tis" and "[<-.tis" reported by Abiel Reinhart.
tis 1.11
- added 'zero' argument to naWindow
tis 1.10
- added methods for generic function xtfrm for classes jul, ssDate, ti and
tis.
- print.ti() and print.tis() can now suppress the 'class: ti' and 'class:
tis' strings, respectively, at the end.
tis 1.9 (2009-12-09)
- convert() uses tapply() which calls as.factor() on a ti object. For some
reason, this results in NA's in R 2.10.0. Unclassing the ti before using
it as a parameter to tapply fixed it. Why factor() gives NA's for ti
objects is a subject for further investigation.
tis 1.8 (2009-11-19)
- Allow fortify.tis to handle proper naming when a univariate array is
converted into a tis object. Contributed by Trevor Davis.
tis 1.7 (2009-07-28)
- Tweaked nberShade.ggplot to work with a greater range of ggplot objects,
and improved examples for nberShade and fortify.tis documentation.
Contributed by Trevor Davis.
tis 1.6 (2009-06-24)
- made nberShade() generic and added a method for ggplot objects
- added fortify.tis(), a tis-specific method for the fortify() generic in ggplot2
tis 1.5 (2009-01-02)
- added options to how nberDates() and nber.xy() handle an ongoing recession
tis 1.4
- fixed nberDates() to show latest recession
tis 1.3
- cleaned up some documentation to incorrect package references and
references to Fed-specific stuff.
- added "tif" parameter to today() with default value "daily"
tis 1.2 (2008-11-05)
- better handling of ti objects with some NA values. Thanks to Chuck
Mikolajczak for pointing out the problem.
- the observed attribute of a tis can now be one of "beginning", "ending",
"summed", "averaged", "annualized", "high", or "low". The last two are new,
and denote series for which only the high or low value over a period is
recorded. The convert() function can work with the new attributes.