Given a dataset id and list of fields, extract data

extract_data(dataset_id, field_list)

Arguments

dataset_id
  • dataset id in the form project-xxxx:record-yyyy- you can use get_dataset_id() to find this.

field_list
  • vector/list of fields. Note that you can choose to return eids below

return_eids
  • Whether to return eids

Value

Alert to dataset location

Examples


if (FALSE) {
fields <- c("participant.eid", "participant.p31", "participant.p41202")
ds_id <- get_dataset_id()
extract_data(ds_id, field_list=fields)
}