Last data update: 2014.03.03

Data Source

R Release (3.2.3)
CranContrib
BioConductor
All

Data Type

Packages
Functions
Images
Data set

Classification

Results 1 - 10 of 21 found.
[1] < 1 2 3 > [3]  Sort:

xml_new_document (Package: xml2) : Create a new document

Create a new document
● Data Source: CranContrib
● Keywords:
● Alias: xml_new_document
● 0 images

read_xml (Package: xml2) : Read HTML or XML.

Read HTML or XML.
● Data Source: CranContrib
● Keywords:
● Alias: read_html, read_xml, read_xml.character, read_xml.connection, read_xml.raw
● 0 images

xml_path (Package: xml2) : Retrieve the xpath to a node

This is useful when you want to figure out where nodes matching an xpath expression live in a document.
● Data Source: CranContrib
● Keywords:
● Alias: xml_path
● 0 images

xml_text (Package: xml2) : Extract or modify the text

xml_text returns a character vector, xml_double returns a numeric vector, xml_integer returns an integer vector.
● Data Source: CranContrib
● Keywords:
● Alias: xml_double, xml_integer, xml_text, xml_text<-
● 0 images

xml_children (Package: xml2) : Navigate around the family tree.

xml_children returns only elements, xml_contents returns all nodes. xml_length returns the number of children. xml_parent returns the parent node, xml_parents returns all parents up to the root. xml_siblings returns all nodes at the same level. xml_child makes it easy to specify a specific child to return.
● Data Source: CranContrib
● Keywords:
● Alias: xml_child, xml_children, xml_contents, xml_length, xml_parent, xml_parents, xml_root, xml_siblings
● 0 images

xml_replace (Package: xml2) : Modify a tree by inserting, replacing or removing nodes

xml_add_sbling() and xml_add_child() are used to insert a node as a sibling or a child. xml_replace() replaces an existing node with a new node. xml_remove() removes a node from the tree.
● Data Source: CranContrib
● Keywords:
● Alias: xml_add_child, xml_add_sibling, xml_remove, xml_replace
● 0 images

xml_name<- (Package: xml2) : Modify the (tag) name of an element

Modify the (tag) name of an element
● Data Source: CranContrib
● Keywords:
● Alias: xml_name<-
● 0 images

xml_set_namespace (Package: xml2) : Set the node's namespace

The namespace to be set must be already defined in one of the node's ancestors.
● Data Source: CranContrib
● Keywords:
● Alias: xml_set_namespace
● 0 images

url_absolute (Package: xml2) : Convert between relative and absolute urls.

Convert between relative and absolute urls.
● Data Source: CranContrib
● Keywords:
● Alias: url_absolute, url_relative
● 0 images

as_list (Package: xml2) : Coerce xml nodes to a list.

This turns an XML document (or node or nodeset) into the equivalent R list. Note that this is as_list(), not as.list(): lapply() automatically calls as.list() on its inputs, so we can't override the default.
● Data Source: CranContrib
● Keywords:
● Alias: as_list
● 0 images