flatxml icon indicating copy to clipboard operation
flatxml copied to clipboard

exclude.fields not honoured

Open dmenne opened this issue 5 years ago • 3 comments

Great package, minimal set of dependencies! I am using it to make a lean package for the ODK Central API without using tidyverse which has recently become a nightmare to support when used in a package because of the frequent conceptual changes.

Minor documentation problem:

In the example, it should be exclude.fields = c("Value Footnotes"), not Footnote.

dmenne avatar Oct 26 '20 07:10 dmenne

Thanks! I will change this with the next update.

If I may make a recommendation: If you are only interested in converting between dataframes and XML (or vice versa) then use my new package xmlconvert (which is currently under review by the CRAN team and should be [hopefully] published in a couple of days). It is very lean, faster than flatxml and provides more options to control the conversion process.

jsugarelli avatar Oct 26 '20 08:10 jsugarelli

Thanks, will check!

dmenne avatar Oct 26 '20 08:10 dmenne

I just checked, and it is not exactly what I wanted, because it uses the tidyverse. Since I put 80% of my work to maintain 3 CRAN package on changing tidyverse, I try to avoid this.

dmenne avatar Oct 26 '20 08:10 dmenne