View source: R/checkNegativeValues.R
checkNegativeValues | R Documentation |
In general, data values which are negative will not be imported.
checkNegativeValues(
d,
d2session = dynGet("d2_default_session", inherits = TRUE)
)
d |
D2 Parsed data frame |
d2session |
DHIS2 Session id |
A filtered D2 compliant data frame of invalid values, otherwise, returns TRUE if there are no violations. A warning will also be issued if there are any negative values found in non-dedupe mechanisms.
## Not run:
d <- d2Parser("myfile.csv",type="csv")
d <- checkNegativeValues(d)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.