CreateDataSource | R Documentation |
Create a data source.
CreateDataSource(
type,
canonicalName,
dataStoreId,
query = NULL,
table = NULL,
schema = NULL,
partitionColumn = NULL,
fetchSize = NULL
)
type |
character. The type of data source. |
canonicalName |
character. The user-friendly name of the data source. |
dataStoreId |
character. The ID of the data store to connect to. |
query |
character. A query to execute on the data store to get the data. Optional. |
table |
character. The specified database table. Optional. |
schema |
character. The specified database schema. Optional. |
partitionColumn |
character. The name of the partition column. Optional. |
fetchSize |
integer. a user specified fetch size in the range [1, 20000]. Optional. By default a fetchSize will be assigned to balance throughput and memory usage |
## Not run:
dataStoreId <- "5c1303269300d900016b41a7"
CreateDataSource(type = "jdbc",
canonicalName = "Airline stats after 1995",
dataStoreId = dataStoreId,
query = 'SELECT * FROM airlines10mb WHERE "Year" >= 1995;')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.