Description Usage Arguments Value Examples
Using the data returned from the
1 2 | downloadImages(photoSearch_results, licenses = 7:10, saveDir = ".",
max_quality = 2, verbose = TRUE)
|
photoSearch_results |
A data.frame output from |
licenses |
Numeric vector, set the licenses you want to download images for. See |
saveDir |
Character, the path where images should be saved |
max_quality |
Numeric 1-4 giving the maximum quality of image you want to download 1=small, 4=large |
verbose |
logical, if TRUE the progeress through images is given |
A vector of all the URLs that where targetted for download
1 2 3 4 5 6 7 8 9 10 11 12 13 | # run a workflow, using the logistic regression model
## Not run:
snowmen <- photosSearch(year_range = c(2015, 2016),
text = 'snowman',
woe_id = 12578048)
downloadImages(snowmen,
licenses = c(6:10),
saveDir = tempdir(),
max_quality = 2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.