queryTable

Description

Queries a form as a flat, two-dimensional table

Usage

queryTable(form, columns, ..., truncate.strings = TRUE)

Arguments

ArgumentDescription
columnsselect columns
truncate.stringsTRUE if longer strings should be truncated to 128 characters
theform to query. This can be an object of type "tree", "class", or the id of the form as a character.

References

[http://help.activityinfo.org/m/77022](ActivityInfo Formulas Manual)

Examples

queryTable("a2145507918", columns = c(
id="_id",
name="Name",
campId="camp",
camp="Camp.Name",
governorate="Camp.Governorate.Name",
teachers="teachers",
students="students",
type="[Type of School]"
))