dai.create_dataset_from_jdbc.Rd
Creates a dataset from a JDBC query.
dai.create_dataset_from_jdbc( connection, destination, query, user, password, id_column = NULL, progress = getOption("dai.progress", TRUE) )
connection | Name of the JDBC connection. |
---|---|
destination | Name of the Driverless dataset. |
query | An SQL query. |
user | The database username. |
password | The password of the database |
id_column | The name of the ID column in the dataset (optional). |
progress | Whether to display a progress bar. |
DAIFrame
representing the dataset.
Find more details about how to enable data connectors in the documentation.
# \donttest{ data <- dai.create_dataset_from_jdbc('postgres', 'creditcard', 'select * from creditcard', 'psql_user', 'secret_password') # }