Using the data returned from the

downloadImages(photoSearch_results, licenses = 7:10, saveDir = ".",
  max_quality = 2, verbose = TRUE)

Arguments

photoSearch_results

A data.frame output from photoSearch.

licenses

Numeric vector, set the licenses you want to download images for. See getLicenses

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

Value

A vector of all the URLs that where targetted for download

Examples

# 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) # }