Description
Please be aware of the 600 column and 200,000 row limit for ActivityInfo forms. See more details here: https://www.activityinfo.org/support/docs/m/84877/l/1144008.html
Usage
importRecords(
formId,
data,
recordIdColumn,
parentRecordIdColumn,
stageDirect = TRUE,
progress = getOption("activityinfo.import.progress", default = TRUE),
parentIdColumn = parentRecordIdColumn
)
Arguments
Argument | Description |
---|---|
formId |
The form ID |
data |
The data.frame to import |
recordIdColumn |
The record ID column |
parentRecordIdColumn |
The parent record ID column required when importing a subform |
stageDirect |
Whether the import should be directly staged to Google Cloud Storage. This may not be possible if connecting from Syria or other countries that are blocked from accessing Google services directly. This option is ignored when connecting to a self-managed instance of ActivityInfo. |
progress |
Show import progress while waiting for import job to complete |
parentIdColumn |
Use parentRecordIdColumn instead. parentIdColumn is deprecated. |
Details
Currently, not all types of fields are supported and you will get a warning if you attempt to import records with unsupported fields.