Description Usage Arguments Value See Also Examples
Get the content of all tables for a given form, or of a particular table, on the QCBS Mobile Data Collection System
1 | qcbsmdc_get_tables(conn, form_id, table = "all")
|
conn |
a connection list file containing user_id and api_key values |
form_id |
the name or id of the form from which the table list is to be obtained |
table |
either 'all' if all tables are desired, or the name of the table to be obtained |
list containing all tables associated with the form as data frames (if table='all) or data frame if the table option specifies the name of a particular table
qcbsmdc_list_forms
for obtaining forms
qcbsmdc_list_tables
for obtaining the content of the tables
qcbsmdc_get_files
for saving files (e.g. photos) to your a local directory
1 2 3 4 5 6 | ## api keys can be obtained from your account on the http://mdc.quebio.ca website
conn=list(user_id="JohnDoe",api_key='8fjasdf3h112aad')
#GET all tables
table_list<-qcbsmdc_get_tables(conn=conn,form_id='MyForm1',table='all')
#GET a particular table
the_table<-qcbsmdc_get_tables(conn=conn,form_id='MyForm1',table='uuid0MyTable')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.