Description Usage Arguments Value Examples
Convert a sub table (contents or properties) to a data.frame. The function calls odataR_get_data
one or more times (the latter if the server returns more than 10000 rows) to actually retrieve the XML data. With parameter mt
one indicates that the requests relates to a 'normal' sub table or relates to the properties sub table. In these cases the data is converted to a data.frame . By specifying mt=NULL
the contents is not converted to a data.frame but returned as XML.
1 | odataR_get_subtable(dsn, mt = "table", query = NULL, save_XML = NULL)
|
dsn |
Named character vector with full name of subtable |
mt |
Indicates destination of the XML data. Character |
query |
OData query to restrict data returned from structure, See
|
save_XML |
Name of file to save the XML data in or NULL or default name |
A data.frame with the contents of the sub table (mt='table'
) or the properties of the table (mt='prop'
) or the XML contents of the sub table (mt=NULL
)
1 2 3 4 | ## Not run:
subtabs = odataR_get_subtables(table_id="82935NED")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.