Get the field values from a pdf form (AcroForms). This function is a faster,
streamlined alternative to staplr::get_fields
.
read_pdf_form(f)
Path to pdf file.
A list of the field values.
# read the staplr example file
pdf = system.file('testForm.pdf', package = 'staplr')
head(read_pdf_form(pdf))
#> $TextField1
#> [1] ""
#>
#> $TextField2
#> [1] ""
#>
#> $RadioGroup
#> [1] "Off"
#>
#> $checkBox
#> [1] "Off"
#>
#> $`List Box`
#> [1] ""
#>
#> $hierarchy.node1
#> [1] ""
#>