xml2tib: Pick out nodes from xml and turn it into a tibble

View source: R/xml2tib.R

xml2tibR Documentation

Pick out nodes from xml and turn it into a tibble

Description

Extract xml nodes and turn xml to tibble

Usage

xml2tib(xmlnodeset, nodenames, api)

Arguments

xmlnodeset

an xml node containing nodes

nodenames

the names of the nodes you wish to extract (string with nodes separated by commas)

api

name of api and determines the indexing and the top node to index on (first element returned by rvest::xml_nodes)

Value

A tibble with node names as col names and node text as values


FoodStandardsAgency/lit-fetch documentation built on June 29, 2024, 12:46 a.m.