parse_spr_pdf: Parse Sprint Race PDFs

Description Usage Arguments Details Examples

View source: R/sprint_parser.R

Description

Convert FIS sprint result PDFs into a format more suitable for analysis. All times are converted to seconds.

Usage

1

Arguments

file

character; file path to PDF (use the PDF for the final results not the qualification results)

edit

boolean; edit tables before passing them to be cleaned

...

other arguments passsed to parse_pdf

Details

The PDF parser in the tabulizer package will sometimes miss blank columns, for example if no one from QF3 ended up on the final heat, the parser will simply skip that blank column. The function attemps to detect this and if it does you will be prompted to supply an index for where to insert a blank column so that the tables all line up correctly. You might need to have the PDF open to look at while running this function so you can verify where to add the column.

Examples

1
2
3
4
5
## Not run: 
spr <- parse_spr_pdf(file = system.file("example_pdfs/spr_example1.pdf",
                                         package = "fispdfparsr"))

## End(Not run)

joranE/fispdfparsr documentation built on Sept. 6, 2021, 9:23 p.m.