Given a dataset id and list of fields, extract data
extract_data(dataset_id, field_list)
dataset id in the form project-xxxx:record-yyyy- you can use get_dataset_id() to find this.
vector/list of fields. Note that you can choose to return eids below
Whether to return eids
Alert to dataset location
if (FALSE) {
fields <- c("participant.eid", "participant.p31", "participant.p41202")
ds_id <- get_dataset_id()
extract_data(ds_id, field_list=fields)
}