A Database Management Tool

A database management tool built as a 'shiny' application. Connect to various databases to send queries, upload files, preview tables, and more.


octopus

R-CMD-check CRANstatus

The octopus package is a database management tool built entirely in R. You can preview tables, upload files, send queries, and more.

All database credentials are handled by the R user. Simply pass a supported database connection object created with DBI::dbConnect() to the function octopus::view_database() and octopus will start a shiny application allowing you to interact with the database.

Try it out here! shinyapps.io

Supported Databases

The octopus package currently supports the following databases:

octopus::list_drivers()
#> [1] "PqConnection"         "Snowflake"            "Vertica Database"    
#> [4] "duckdb_connection"    "MySQLConnection"      "SQLiteConnection"    
#> [7] "Microsoft SQL Server"

Installation

Install the stable version from CRAN.

install.packages("octopus")

Install the development version from github.

devtools::install_github("MCodrescu/octopus")

Example

Here is an example of connecting to a database and running the main function of octopus.

# Create a Database Connection
drv <- duckdb::duckdb()
con <- DBI::dbConnect(drv)

# Write some data
DBI::dbWriteTable(con, "mtcars", mtcars)

# View the Database
octopus::view_database(con)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("octopus")

0.4.2 by Marcus Codrescu, 3 years ago


https://github.com/MCodrescu/octopus, https://mcodrescu.github.io/octopus/


Report a bug at https://github.com/MCodrescu/octopus/issues


Browse source code at https://github.com/cran/octopus


Authors: Marcus Codrescu [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports bslib, data.table, DBI, dplyr, DT, glue, httr, janitor, rio, shiny, shinyAce, shinyjs, utils

Suggests keyring, knitr, odbc, readr, rmarkdown, RMySQL, RPostgres, RSQLite, testthat


See at CRAN