download_recovery_plans: Download all PDF recovery documents from NMFS

Description Usage Arguments Details Examples

Description

Download all PDF recovery documents from NMFS

Usage

1

Arguments

subd

The directory (subdirectory) to which the PDFs are downloaded

Details

Uses get_recovery_plan_pdf_urls to fetch the vector of PDF URLs forrecovery plans maintained by the National Marine Fisheries Service (NMFS). Filenames are the basename of the URL with spaces replaced by "_". Uses pdfdown, which returns a data.frame of results, to do the scraping. Note that download_pdf will not

Examples

1
2
3
4
## Not run: 
dl_res <- download_recovery_plans("~/Downloads/NMFS_rec")

## End(Not run)

jacob-ogre/nmfsscraper documentation built on May 18, 2019, 8:01 a.m.