You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is already a first attempt to include unit tests for the STATcube API using {httptest} in #40 . The basic idea is to have a way to test the parsers and print methods for sc_table() and friends when submitting the package to CRAN.
One important question here is which cubes/databases should be used in the tests. One reccomendation is the "Gemeindedaten (Demo)" databse. However, in order to maximize code-coverage, some databases with annotations and missing values would be required. Unfortunately, the "Gemeindedaten (Demo)" database only provides missings/annotations of the kind "X: cross tabulation not allowed". Another useful thing would be to have different types of time variables (half year, month, week, quarter, year)
Canidate databases
Foreign Trade includes annotations "T: Total Suppression" and "G: Disclosure control".
LFS inclues annotations "S: samping error" and "N: value does not make sense" which are special annotations with underlying values.
There is already a first attempt to include unit tests for the STATcube API using
{httptest}
in #40 . The basic idea is to have a way to test the parsers and print methods forsc_table()
and friends when submitting the package to CRAN.One important question here is which cubes/databases should be used in the tests. One reccomendation is the "Gemeindedaten (Demo)" databse. However, in order to maximize code-coverage, some databases with annotations and missing values would be required. Unfortunately, the "Gemeindedaten (Demo)" database only provides missings/annotations of the kind "X: cross tabulation not allowed". Another useful thing would be to have different types of time variables (half year, month, week, quarter, year)
Canidate databases
The text was updated successfully, but these errors were encountered: