mica.variables {micar}R Documentation

Get the variables

Description

Get the variables

Usage

mica.variables(
  mica,
  query = "variable()",
  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.variables(m, query="variable(in(Mlstr_area.Lifestyle_behaviours,Drugs))")
mica.logout(m)

## End(Not run)

[Package micar version 1.1.2 Index]