Package 'octopus'

Title: A Database Management Tool
Description: A database management tool built as a 'shiny' application. Connect to various databases to send queries, upload files, preview tables, and more.
Authors: Marcus Codrescu [aut, cre]
Maintainer: Marcus Codrescu <[email protected]>
License: MIT + file LICENSE
Version: 0.4.2
Built: 2025-02-26 05:47:36 UTC
Source: https://github.com/mcodrescu/octopus

Help Index


List Compatible Database Drivers

Description

List Compatible Database Drivers

Usage

list_drivers()

Value

A character vector of compatible database drivers.


View CSV

Description

Upload a csv file to a in-memory duckdb database and write queries against it.

Usage

view_csv(csv_file_path, table_name = "csv_file")

Arguments

csv_file_path

A string. The csv file path.

table_name

A string. The name of the table in the duckdb database.

Value

A shiny app instance.


View Database Connection with Octopus

Description

This function opens a shiny instance where the database can be viewed.

Usage

view_database(con, options = list(), max_file_upload_size = 2000 * 1024^2)

Arguments

con

A database connection object. The result of DBI::dbConnect().

options

A named list of options to be passed along to shinyApp().

max_file_upload_size

An integer. The max number of bits allowed in file uploads.

Value

An R Shiny instance.