Getting data from pdfs using the pdftools package