mica.study.dces: Get the study data collection events

View source: R/mica.study.dces.R

mica.study.dcesR Documentation

Get the study data collection events

Description

Get the study data collection events (DCEs). Note that the DCEs are not fetched directly, they are extracted from study search results.

Usage

mica.study.dces(
  mica,
  query = "study()",
  select = list("populations.dataCollectionEvents"),
  sort = list("id"),
  from = 0,
  limit = 100,
  locale = "en",
  df = TRUE
)

Arguments

mica

A Mica object

query

The search query

select

The fields to be extracted

sort

The fields to sort by

from

From item

limit

Max number of items. Note that this limit applies to the studies that are fetched, the resulting count of DCEs will be higher.

locale

The language for labels (default is "en")

df

Return a data.frame (default is TRUE)

See Also

Other studies functions: mica.studies(), mica.study.populations()

Examples

## Not run: 
m <- mica.login("https://mica-demo.obiba.org")
mica.study.dces(m, query="study(in(Mica_study.methods-design,cohort_study))")
mica.logout(m)

## End(Not run)

obiba/micar documentation built on Nov. 8, 2023, 11:51 p.m.