mica.datasets {micar}R Documentation

Get the datasets

Description

Get the datasets

Usage

mica.datasets(
  mica,
  query = "dataset()",
  select = list("*"),
  sort = list("id"),
  from = 0,
  limit = 10000,
  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

locale

The language for labels (default is "en")

df

Return a data.frame (default is TRUE)

Examples

## Not run: 
m <- mica.login("https://mica-demo.obiba.org")
mica.datasets(m, query="variable(in(Mlstr_area.Lifestyle_behaviours,Drugs))")
mica.logout(m)

## End(Not run)

[Package micar version 1.1.2 Index]