Learn R Programming

JumpeR (version 0.3.0)

read_results: 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

Run this code
# NOT RUN {
read_results("https://www.flashresults.com/2018_Meets/Outdoor/05-05_A10/015-1.pdf")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab