wcGetPttID: Return a vector of deployment ID associated with a given PTT

View source: R/wcGetPttID.R

wcGetPttIDR Documentation

Return a vector of deployment ID associated with a given PTT

Description

wcGetPttID returns a vector of deployment ID(s)

Usage

wcGetPttID(xml_content, ptt = NULL)

Arguments

xml_content

XML content/data returned from wcPOST (with 'action=get_deployments')

ptt

valid ptt integer (required)

Details

This function presumes a PTT has been setup for deployments on the Wildife Computers Data Portal. The vector of deployment ID(s) returned will be a subset that match the ptt integer provided in the function call. The list returned will also include a simple data frame with summary information one can use to determine the appropriate id.

Value

a list with ids (a vector of deployment ids) and a df (data frame of deployment summaries)


jmlondon/wcUtils documentation built on March 19, 2024, 8:40 a.m.