CameraTrapDataAccess: Snapshot Serengeti camera trap access

Description Usage Arguments Value Examples

View source: R/CameraTrapDataAccess.R

Description

Function to access Snapshot Serengeti camera trap photos on the Labeled Information Library of Alexandria: Biology and Conservation http://lila.science/datasets/snapshot-serengeti

Usage

1
2
3
4
5
6
7
CameraTrapDataAccess(
  urlpath = "https://lilablobssc.blob.core.windows.net/snapshotserengeti-unzipped/",
  season = list(1, 2),
  AnimalID = "leopard",
  NumPhotos = 5,
  create.dir = ""
)

Arguments

urlpath

location of Snapshot Serengeti database

season

which season to query; options are 1-4, 6-8,10,11

AnimalID

which animal photos to download

NumPhotos

the number of photos to download

create.dir

logical; create a new directory (TRUE) or save to current temp directory (FALSE); to see temp directory use tempdir()

Value

a dataframe with image metadata and downloaded images

Examples

1
2
3
CombinedAnimalDF <- CameraTrapDataAccess(urlpath=
'https://lilablobssc.blob.core.windows.net/snapshotserengeti-unzipped/',
season= list(1,2,3),AnimalID='leopard', NumPhotos= 50,create.dir=TRUE)

DenaJGibbon/behaviouR documentation built on Aug. 27, 2020, 10:57 p.m.