PageProcessing: Process XML Data into tree format

Description Usage Arguments Value Examples

View source: R/PageProcessing.R View source: R/CollectDataforWeb.R

Description

This function will read in the XML data and parse it into a tree structure for R to read.

Usage

1
2
PageProcessing(MyEOL, ...)
RemoveNAFiles(MyFiles)

Arguments

MyEOL

A filename or R object for downloaded EOL pages

MyFiles

A vector of filenames or R objects for EOL or Hier pages

...

further arguments to be passed to PageProcessing

Value

PageProcessing returns XML tree as an R object. RemoveNAFiles is an internal function that will take a vector of filenames and check to make sure they all have data associated (sometimes requested pages will be empty and contain no information). If they are empty, they are cleaved from the analysis.

Examples

1
2
3
4
5
6
	#Reads in a file
	#PageProcessing("eol1.xml") 
	
	#or reads in an R object
	data(MyEOLs)
	PageProcessing(MyEOLs[1])

Reol documentation built on May 2, 2019, 5:54 p.m.