Published May 10, 2023 | Version v1
Software Open

R Script for Batch Downloading Images from a CSV File (from a Darwin Core Archive)

  • 1. Arizona State University

Description

This R script can be used to batch download images listed as URLs in a Darwin Core Archive - derived multimedia file. Or you can just use a CSV file that has a list of image URLs that you would like to download.

Instructions for use:

  1. Change the text in quotes on line 17 to the file location of the input file (i.e., the file consisting of the image URLs). Make sure that the input file has a column called "accessURI" that lists the images URLs from which you would like to download.
  2. Change the text in quotes on line 21 to the file location where you would like the images to be downloaded into (make sure that the folder exists!). Also make sure that you end the line with a forward slash so it knows to put all the images IN that folder.
  3. Run the code.
  4. Profit! (by enabling research, education, curation, etc.)

* Pay attention to the copyright of the images you are downloading! Use of images must follow copyright restrictions.

Files

Files (1.1 kB)

Name Size Download all
md5:3c939ea4609778b54c935846921b7ab3
1.1 kB Download

Additional details

Funding

U.S. National Science Foundation
iDigBio: Sustaining the digitization, mobilization, accessibility, and use of biodiversity specimen data in U.S. museum and academic collections 2027654