Introduction
This is a tool use to scrape Xpert HPV pdf reports and return the data as a formatted data frame of S3 class xpert_results.
Installation
The current package is not published to CRAN. You must install from github:
install.packages("remotes")
remotes::install_github("iluvdata/HPVScrape")Alternatively using pak:
install.packages("pak")
pak::pkg_install("iluvdata/HPVScrape")Usage
Case 1: Xpert machine(s) all in the same time zone
To parse a pdf (which can contain multiple results) simple create a new Xpert object. You can pass either a path or a raw vector of the pdf binary.
# Use OlsonNames() for a list of valid time zones
xpert <- Xpert("myXpertResults.pdf", "America/New_York")