pdftools + map to download & read multiple pdfs

rOpenSci package or resource used

pdftools

other important packages:

purrr and glue

What did you do?

I wrote code snippet that shows how to

  • create a list of URLs with glue::glue
  • download multiple pdfs using purrr::walk2
  • read them all with purrr::map & pdftools::pdf_text

URL or code snippet for your use case

Github code

Sector

academic / non-profit

Field(s) of application

humanities and any other field interested in downloading

Comments

will never thank the @rOpenSci community enough for your packages! Is there any way to filter UseCases by text contained in these sections?

Twitter handle

@espejolento

2 Likes