Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/skgrange/databaser

Tools to Keep Database Interaction Easy and Consistent
https://github.com/skgrange/databaser

Last synced: 8 days ago
JSON representation

Tools to Keep Database Interaction Easy and Consistent

Awesome Lists containing this project

README

        

# **databaser**

[![Lifecycle Status](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/)

![](inst/extdata/images/icon_small.png)

**databaser** is an R package which extends [**DBI**](https://github.com/rstats-db/DBI), [**RSQLite**](https://github.com/r-dbi/RSQLite), [**RMariaDB**](https://github.com/r-dbi/RMariaDB), and [**RPostgres**](https://rpostgres.r-dbi.org/). **databaser** keeps things consistent with functions starting with `db_`. **databaser** contains many simple wrappers which are sometimes undesirable, but they are included for consistency.

- Functions include:

- `db_connect`
- `db_execute` (vectorised)
- `db_get`
- `db_insert`
- `db_contents`
- `db_count_rows`
- `db_head`
- `db_list_variables`
- `db_vacuum`
- `db_read_table`
- `db_insert`
- `db_kill_process`
- `db_list_constraints`
- `db_list_indices`
- `db_size`
- `db_version`
- `read_sql`
- and many more...

**databaser** started off life within the [**threadr**](https://github.com/skgrange/threadr) package.