Fetch data from server using an SQL query
Source:R/read_servers_helpers.R
sql_fetch_data_from_query.Rd
Fetch data from server using an SQL query
Usage
sql_fetch_data_from_query(
src,
tables,
base_url,
user_name,
password,
dbms,
driver_name,
database_name,
port
)
Arguments
- src
the SQL query
- tables
the list of tables from the database
- base_url
the host server name
- user_name
the user name
- password
the user's password
- dbms
the database management system type
- driver_name
the driver name
- database_name
the database name
- port
the server port ID
Examples
if (FALSE) {
result <- sql_fetch_data_from_query(
src = "select author_id, name, last_name from author",
tables = c("family_author", "author"),
base_url = "mysql-rfam-public.ebi.ac.uk",
user_name = "rfamro",
password = "",
dbms = "MySQL",
driver_name = "",
database_name = "Rfam",
port = 4497
)
}