Closed clnsmth closed 2 years ago
Turns out this is an issue in one of the PASTA REST API methods, not xml2df()
. See: https://github.com/PASTAplus/PASTA/issues/76
A patch can be applied to EDIutils or a global fix at the repository level.
This has been fixed at the repository level
The internal function
xml2df()
drops null elements from the returned data.frame. The expected result is a data.frame with null elements filled withNA
. This issue affects several EDItuils functions. See:https://github.com/EDIorg/EDIutils/blob/5ee913a63c4127938ddadcf7bdbfbd622796fdf3/R/utilities.R#L426