mica.variables: Get the variables

View source: R/mica.variables.R

mica.variablesR 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)

obiba/micar documentation built on May 2, 2024, 8:36 p.m.