as.data.frame.plazi_feed: Plazi Feed to Dataframe Converter

Description Usage Arguments Value Examples

View source: R/plazi.R

Description

Converts the Plazi feed XML to a data frame with interesting columns.

Usage

1
2
## S3 method for class 'plazi_feed'
as.data.frame(feed)

Arguments

feed

plazi_feed, xml_document, the Plazi feed.

Value

a 'data.frame' and a 'plazi_infotable' object containing tabular information about Plazi treatments

Examples

1
2
3
4
a_plazi_feed = plazi_feed()
xml2::write_xml(a_plazi_feed, file = "~/tmp/plazi_feed.xml")
b_plazi_feed = plazi_feed("/home/viktor2/tmp/plazi_feed.xml")
plazi_info = as.data.frame(b_plazi_feed)

pensoft/ropenbio documentation built on Dec. 17, 2020, 5:50 a.m.