You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the RODBC package, you need to open a database connection, send one or more requests to the database and finally close the dabase connection.
22
+
With the RODBC package, you need to open a database connection, send one or more requests to the database and finally close the database connection.
23
23
24
24
## Database Access with this package
25
25
26
26
27
27
With the functions of this package it is not needed to open and close a database connection explicitly; this is done behind the scenes in the functions. Instead of a database connection the path to the database file needs to be passed to the functions as an argument.
28
28
29
-
The main functions are [`hsGetTable()`](https://kwb-r.github.io/kwb.db/reference/hsGetTable.html) and [`hsPutTable()`](https://kwb-r.github.io/kwb.db/reference/hsPutTable.html). They transfer data from a database to a data frame in R and save data from a data frame in R into a new table in a database, respectively.
29
+
The main functions are `hsGetTable()` and `hsPutTable()`. They transfer data from a database to a data frame in R and save data from a data frame in R into a new table in a database, respectively.
30
30
31
-
Use [`hsTables()`](https://kwb-r.github.io/kwb.db/reference/hsTables.html) to get a list of tables that are available in a database and [`hsFields()`](https://kwb-r.github.io/kwb.db/reference/hsFields.html) to get a list of table fields that are contained in a database table.
31
+
Use `hsTables()` to get a list of tables that are available in a database and `hsFields()` to get a list of table fields that are contained in a database table.
In each of the `kwb.db::`-function calls above a database connection is opened, a request to the database is sent and the connection is closed again. Thus, the user does not have to care about open database connections.
56
56
57
-
Take care when getting time series data from an MS Access database, see therefore [`hsMdbTimeSeries()`](https://kwb-r.github.io/kwb.db/reference/hsMdbTimeSeries.html).
57
+
Take care when getting time series data from an MS Access database, see therefore `hsMdbTimeSeries()`.
0 commit comments