Learn R Programming

shiny.collections (version 0.1.1)

make_sure_db_exists: Make sure that rethink database exists

Description

This function checks whether database `db_name` exists and if not it creates one.

Usage

make_sure_db_exists(connection, db_name)

Arguments

connection

structure with rethinkdb connection details

db_name

character with database name

Examples

Run this code
# NOT RUN {
cn <- connect()
make_sure_db_exists(cn, "temp_db")
# }

Run the code above in your browser using DataLab