We are going to create a tidy dataset with each row representing one observation. The variables in this dataset will be year, month, day and deaths. Start by installing and loading the pdftools package:
Now read-in fn using the pdf_text function and store the results in an object called txt. Which of the following best describes what you see in txt.
A. A table with the mortality data.
B. A character string of length 12. Each entry represents the text in each page. The mortality data is in there somewhere.
C. A character string with one entry containing all the information in the PDF file.
D. An html document.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here