Read_Results: Reads swimming and diving results into a list of strings in...

View source: R/Read_Results.R

Read_ResultsR Documentation

Reads swimming and diving results into a list of strings in preparation for parsing with swim_parse

Description

Outputs list of strings to be processed by swim_parse

Usage

Read_Results(file, node = "pre")

read_results(file, node = "pre")

Arguments

file

a pdf, url or Hytek .hy3 file containing swimming results. Must be formatted in a "normal" fashion - see vignette

node

a CSS node where html results are stored. Required for html results. Default is "pre", which nearly always works.

Value

returns a list of strings containing the information from file. Should then be parsed with swim_parse

See Also

read_results is meant to be followed by swim_parse

Examples

## Not run: 
link <-
  "http://www.nyhsswim.com/Results/Boys/2008/NYS/Single.htm", node = "pre"
read_results(link)
## End(Not run)


gpilgrim2670/SwimmeR documentation built on March 26, 2023, 5:05 p.m.