-
Notifications
You must be signed in to change notification settings - Fork 82
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
Allow creation and mutation of elements, attrs etc #9
Comments
👍 I would use this to 1) build xml for POSTs 2) modify svg elements or programmatically build interactive svgs. |
👍 In |
My first use case was of creating XML sort of de novo. I just found another one that's more of a true mutate. And our current workflow is to just use regex substitution 😳 If this were easier in one of the XML packages, like yours, I'd much prefer to do that. |
👍 I do this all the time especially with |
To add to what @timelyportfolio mentioned, it would be nice to be able to build up an image in Additionally, I've been making changes to |
👍
|
Say you want to take this vignette and modify/enhance it so that when you hover over each function it displays the function's Arguments documentation (so that if past you has been less explicit than present you would like you can make sense of what's what without having to open up your IDE).
if you could... h_con <- 'http://cran.r-project.org/web/packages/dplyr/vignettes/data_frames.html'
modified_html <- h_con %>% read_html() %>% ... where node_select() # == rvest::html_node()
nodes_select() # == rvest::html_nodes()
node_mutate()
nodes_mutate()
nodes_create()
... and friends? |
👍 We use xml2 to handle biochemical reaction models for Systems Biology described in SBML (http://sbml.org). Writing those models to disk is kind of crucial for reproducible research so it would be nice feature avoid writing all the tags etc. by hand. |
My use case is to batch create a group of xml configurations to deploy to server programs. The xml contains some nodes with simple structure just like typical configuration files. |
👍 I'm working on several packages designed to assist researchers both consume and publish datasets with XML-based metadata standards (e.g. EML, NeXML). The basic idea is that it's much easier to discover interesting datasets when you can search a big pool of them over interesting metadata fields. The data repository managers have made fancy tools to do the search and discovery, but pretty much no one wants to write up their metadata in XML. Such R packages would let users turn nice familiar R structures into the required XML easily; complementing the current use case of |
Just recording something already conveyed via email ... An And, for that matter, hopefully |
Use case for me: reading in XML file containing market data, modifying values and attributes to represent "simulated" market data and write modified XML back out for use by another system |
Closed by #76 |
If you need this, please 👍 this issue with a brief use case
The text was updated successfully, but these errors were encountered: