These functions read metadata from a SurveyCTO server.
Arguments
- auth
scto_auth()
object.
Value
scto_meta()
returns a nested list of metadata related to forms,
datasets, groups, and publishing information. scto_catalog()
returns a
data.table
with columns type
("form" or "dataset"), id
, title
,
version
, group_id
, and group_title
.
Examples
if (FALSE) {
auth = scto_auth('scto_auth.txt')
metadata = scto_meta(auth)
catalog = scto_catalog(auth)
}