images_scrap: Scrape Images from a Web Page

Description Usage Arguments Value Examples

View source: R/images_scrap.R

Description

Scrape Images from a Web Page

Usage

1
images_scrap(link, imgpath = getwd(), extn, askRobot = FALSE)

Arguments

link

the link of the web page

imgpath

the path of the images. Defaults to the current directory

extn

the extension of the image: png, jpeg ...

askRobot

logical. Should the function ask the robots.txt if we're allowed or not to scrape the web page ? Default is FALSE.

Value

Images

Examples

1
2
3
4
5
6
## Not run: 

images_scrap(link = "https://rstudio.com/", extn = "png")


## End(Not run)

ralger documentation built on March 18, 2021, 1:06 a.m.