Learn R Programming

pumilioR (version 1.3.1)

getSounds: Get Sounds from Pumilio

Description

Function to get the data from sounds that match the search query.

Usage

getSounds(pumilio_URL, SiteID=NA, ColID=NA, type="all", credentials = NA, pumiliologin = NA)

Arguments

pumilio_URL
URL of the Pumilio installation, with trailing slash. For example: "http://server.com/pumilio/"
SiteID
ID of a valid site, obtained using getSites
ColID
ID of a valid collection, obtained using getCollections
type
type of query to run: "all" to get all sounds in the archive; "site" for the site specified with SiteID; "col" for the collection specified with ColID; "both" for sounds that match both the site specified with SiteID and the collection specified with ColID.
credentials
username and password, separated with a colon, for websites that require basic Apache webserver authentication
pumiliologin
username and password, separated with a colon, for Pumilio systems that require a valid user

Value

Returns a data frame with the sound data.

Examples

Run this code
	## Not run: 
# 		sounds <- getSounds(pumilio_URL="http://pumilio.coquipr.com/pumilio/",
# 			SiteID=111, type="site")
# 		sounds[1,]
# 	## End(Not run)

Run the code above in your browser using DataLab