Functions to Check a Returned Time Series Data Object
Check a time series (matrix) for returned data and metadata.
1 2 3 4
A time series (matrix) as returned by
Suppress warnings and just return the logical result.
These functions check data returnded from SDMX databases such as Eurostat to verify if data and metadata has been returned by a query specification. This is a useful check because wildcard specifications may often result in no data being returned.
hasData returns a logical vector, one element for each series in
TRUE if there is numeric data in that series or
FALSE if all
the data in the series is
quiet=FALSE (the default)
then a warning is issued for each series that has completely missing data.
hasDataCount prints a count of the number of series with actual data, and returns
the number (invisibly).
hasDataNames returns the names of series with actual data.
hasDataDescriptions returns the descriptions of series with actual data.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.