rOpenSci | pdftools + map to download & read multiple pdfs
Reported on: Jul 15, 2021

pdftools + map to download & read multiple pdfs

English • By Silvia Gutiérrez • Featuring: pdftools

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