Description Usage Arguments Value Examples
This is the only function in the package that actually acquires data from the database. This function returns a block of at most 10000 rows (restriction of the interface) in XML format. It is therefore also suitable in cases where the result is not a nice table (e.g. in the case of TypeInfo). The function odataR_get_table
will call this function one or more times (depending on the size of the data) and convert the combined data to a table or property structure.
1 2 | odataR_get_data(root = odataR_get_root_data(), table_id = NULL,
query = NULL, save_file_name = NULL)
|
root |
Root of data structure |
table_id |
Identification of table |
query |
OData query to restrict data returned from structure, See
|
save_file_name |
Name of file to save the XML data in or NULL |
An XMLInternalDocument
if successful otherwise NULL
1 2 3 4 5 | ## Not run:
doc = odataR_get_data(table_id='82935NED')
doc = odataR_get_data(root='http://opendata.cbs.nl/ODataFeed/OData',table_id='82935NED')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.