htmlToCSV: Read in a VISION html file with a table

Description Usage Arguments Value

View source: R/htmlToCSV.R

Description

This function reads in an HTML table from VISION and returns a data.frame as well as writes a CSV for a more manageable format rather than copying and pasting.

Usage

1
2
htmlToCSV(file, writeFile = TRUE, outfile = NULL, tab.type = "queries",
  tab.attr = "summary", verbose = TRUE, colClasses = NULL)

Arguments

file

(character) to be read in

writeFile

(logical) Should a CSV be written

outfile

(character) filename of CSV to be written

tab.type

(character) type of table to extract, usually "queries"

tab.attr

(character) attribute to select the table on, usually summary, but maybe class

verbose

(logical) diagnostic messages to be written

colClasses

(character) column classes for the table - needs to be same length and number of columns of table

Value

Data.frame of the table


muschellij2/processVISION documentation built on May 23, 2019, 9:54 a.m.