Description Usage Arguments Examples
View source: R/comic_scraper.R
Download Phd comics based upon the comic id found from the Phd comic site. Use in conjunction with purrr::walk to webscrape many comics
1 | download_phd_comic(comic_id, wait_seconds = NULL, save_dir = "phd_comics")
|
comic_id |
numeric ID number of the comic from Phd |
wait_seconds |
interger in seconds to wait before downloading the comic |
save_dir |
string of where to save the downloaded comic |
1 2 3 | download_phd_comic(comic_id = 1234, wait_seconds = 5, save_dir = 'phd_comics')
walk(1:1000, ~ download_phd_comic(comic_id = .x, wait_seconds = 5, save_dir = 'phd_comics'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.