Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML export / HTML export #379

Open
chainsawriot opened this issue Sep 19, 2023 · 2 comments
Open

XML export / HTML export #379

chainsawriot opened this issue Sep 19, 2023 · 2 comments

Comments

@chainsawriot
Copy link
Collaborator

chainsawriot commented Sep 19, 2023

Let's talk about HTML/XML.

Can rio::export(iris, "iris.html") do a better job than writeLines(knitr::kable(iris, format = "html"), "iris.html")? Or is it not very useful?

Should we encourage exporting to some XML formats with an Open Standard schema, e.g. FODS, rather than the so-called "Shallow XML document"?

Of course, the meta-question is: Do you use these XML / HTML features? Could we deprecate them?

@chainsawriot
Copy link
Collaborator Author

@jsonbecker
Copy link
Collaborator

I don't really think that these are appropriate formats for storing data myself, but I suspect that at least some folks who use rio may encounter XML they need to read. That format is at least used as an intentional data exchange format some times. HTML, on the other hand, is primarily useful for presentation or for scraping, where other tooling will have the ability built in.

So IMO, HTML should be removed, but we could perhaps keep some XML support. What is appropriate for XML support, I'm less sure, having, blissfully, not encountered it in the wild from static files on disk that I would use R for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants