read_results: Reads track and field results into a list of strings in...

View source: R/read_results.R

read_resultsR Documentation

Reads track and field results into a list of strings in preparation for parsing with tf_parse

Description

Outputs list of strings to be processed by tf_parse

Usage

read_results(file, node = "pre")

Arguments

file

a .pdf or .html file (could be a url) where containing swimming track and field results. pdfs with multiple columns will not work.

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 tf_parse

See Also

read_results is meant to be followed by tf_parse

Examples

read_results("https://www.flashresults.com/2018_Meets/Outdoor/05-05_A10/015-1.pdf")


gpilgrim2670/JumpeR documentation built on March 25, 2023, 4:57 p.m.