powered by
Get the study populations. Note that the populations are not fetched directly, they are extracted from study search results.
mica.study.populations(mica, query = "study()", select = list("populations.name", "populations.description", "populations.model"), sort = list("id"), from = 0, limit = 100, locale = "en", df = TRUE)
A Mica object
The search query
The fields to be extracted
The fields to sort by
From item
Max number of items. Note that this limit applies to the studies that are fetched, the resulting count of populations will be higher.
The language for labels (default is "en")
Return a data.frame (default is TRUE)
Other studies functions: mica.studies, mica.study.dces
mica.studies
mica.study.dces
# NOT RUN { m <- mica.login("https://mica-demo.obiba.org") mica.study.populations(m, query="study(in(Mica_study.methods-design,cohort_study))") mica.logout(m) # }
Run the code above in your browser using DataLab