Haver_version {Haver} | R Documentation

## Outline of Version Improvements

### Details

- v3.1, Oct 2022

  - The mechanism of preserving Haver path settings in between R sessions (‘path saving’) has changed. In rare cases, this change may break existing code of yours. In previous versions, path saving occurred when the Haver package was detached from the search path. However, path saving did not occur if R was closed without detaching the package. Starting with this version, automated path saving has been discarded altogether. If you want to preserve a path that you have set manually, you have to do so explicitly. This is implemented via a new argument `save` to `haver.path`. A saved path is automatically restored in an new R session. Moreover, you can trigger the setting of a saved path via the new keyword ‘saved’ to argument `set` of `haver.path`.

  - New warning messages are issued by `haver.data` when querying daily or calendar daily series. Local queries will warn you whenever a calendar daily (7-day) series is treated as a regular daily (5-day) series; and they will indicate the exact number of series that are concerned. DLX Direct queries will issue a generic warning message whenever daily or calendar daily series are queried under `caldaily=FALSE`.

  - Arguments `start` and `end` to `haver.data` can now be specified as strings in the date format ‘%Y-%m-%d’. Previously, they had to be supplied as R `Date` objects.

  - internal changes

- v3.0, Aug 2022

  - DLX Direct support has been added. Clients with an active DLX Direct subscription can access Haver databases over the internet.
    New function `haver.direct` turns DLX Direct mode on and off.

  - As an alternative to specifying a fixed database path for all databases, individual database paths can be set in a variety of ways. This includes usage of the information in the main database location (‘INI’) file of the DLX installation.

  - New calendar daily frequency:
    Calendar daily series contain seven data points per week (regular Haver daily series contain five data points per week). In order to not break your existing scripts/code, calendar daily series are treated as regular daily series by default. The new frequency is implemented via the following new function parameters:
    `haver.metadata` has new parameters `caldaily=FALSE` and `wecodes='keep'`
    `haver.data` has new parameter `caldaily=FALSE`.

  - New function `haver.databases` lists or returns the databases that are available under the current path setting.

  - New function `haver.dbcodes` returns a list of all codes in a database.

  - New function `haver.mdfields` sets whether fields ‘alias’ and ‘group’ are to be included in metadata query output.

  - New function `haver.verbose` manages the level of verbosity with which package messages are printed to the screen.

  - New function `haver.usermode` provides an alternative database access mode. It should only be used if a technical support person asks you to do so.

  - 32-bit versions of the Haver package are no longer available.

  - Smaller changes:

    - String arguments to functions can now consistently be supplied in abbreviated form in all functions.

    - In rare instances, some non-standard characters in series descriptors were displayed incorrectly. This has been fixed.

    - A few error messages have slightly changed in wording.

    - The default for argument `cbreak` of `haver.data` and `haver.metadata` has been changed from 500 to 1000.

- v2.4, Aug 2018

  - `haver.data` and `haver.metadata` receive new option `cbreak` which controls how often Haver functions check for user interrupts during queries.

  - minor improvements to some error/warning messages

  - internal changes

- v2.3, May 2018

  - Internal changes only

- v2.2, Feb 2016

  - Internal changes only

- v2.1, 2015

  - Internal changes only

- v2.0, Nov 2014

  - First version of the package in its present form: Introduction of the ‘Haver’ family of functions

[Package Haver version 3.2 Index]