-
Notifications
You must be signed in to change notification settings - Fork 76
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
Multiple tables in HTML #126
Comments
Not at present. But that should be pretty easy to implement with a change to this line: https://github.com/leeper/rio/blob/master/R/import_methods.R#L333 I'll put it on the TODO list. |
Thanks! |
I'm pushing an update with this feature momentarily. It will also be shipping to CRAN today. |
Thanks for the quick implementation, Thomas! This gives a not-to-elegant but quite workable solution for reading multiple PSV tables from a Markdown document by rendering them to HTML and reading them with rio::import. |
Does rio have a function to extract all tables from a given document (HTML, XLSX, et c) and return a list of data frames? It would be quite useful, particularly a named list, when the data format has names, like sheet names. |
I am pushing a commit with support for this via a new function, |
Beautiful! |
Can the
which
parameter ofimport
be used to extract the first/second/etc table from an HTML document with multiple tables?The text was updated successfully, but these errors were encountered: