Package: csdb 2026.10.17

Richard Aubrey White

csdb: An Abstracted System for Easily Working with Databases with Large Datasets

Provides object-oriented database management tools for working with large datasets across multiple database systems. Features include robust connection management for 'PostgreSQL' databases, advanced table operations with bulk data loading and upsert functionality, comprehensive data validation through customizable field type and content validators, efficient index management, and cross-database compatibility. Designed for high-performance data operations in surveillance systems and large-scale data processing workflows.

Authors:Richard Aubrey White [aut, cre], August Sørli Mathisen [aut], Folkehelseinstituttet [cph]

csdb_2026.10.17.tar.gz
csdb_2026.10.17.zip(r-4.7-any)csdb_2026.10.17.zip(r-4.6-any)csdb_2026.10.17.zip(r-4.5-any)
csdb_2026.10.17.tgz(r-4.6-any)csdb_2026.10.17.tgz(r-4.5-any)
csdb_2026.10.17.tar.gz(r-4.7-any)csdb_2026.10.17.tar.gz(r-4.6-any)
csdb_2026.10.17.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
csdb/json (API)

# Install 'csdb' in R:
install.packages('csdb', repos = c('https://niphr.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/niphr/csdb/issues

Pkgdown/docs site:https://niphr.github.io

Datasets:

On CRAN:

Conda:

csverse

5.92 score 1 stars 2 packages 1 scripts 459 downloads 16 exports 46 dependencies

Last updated from:219b237bbf. Checks:5 OK, 1 NOTE, 3 ERROR. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK155
source / vignettesOK201
linux-releaseOK174
macos-releaseOK139
macos-oldrelNOTE119
windows-develERROR144
windows-releaseERROR121
windows-oldrelERROR125
wasm-releaseOK108

Exports:csdb_get_auth_hookcsdb_get_contextcsdb_get_password_hookcsdb_set_auth_hookcsdb_set_contextcsdb_set_password_hookDBConnection_v9DBTable_v9get_table_names_and_infoinsert_data_manyvalidator_field_contents_blankvalidator_field_contents_csfmt_rts_data_v1validator_field_contents_csfmt_rts_data_v2validator_field_types_blankvalidator_field_types_csfmt_rts_data_v1validator_field_types_csfmt_rts_data_v2

Dependencies:bitbit64blobcachemclicpp11csutildata.tableDBIdbplyrdplyrfarverfastmapfsgenericsggplot2gluegtablehmsisobandlabelinglifecyclemagrittrmemoiseodbcpillarpkgconfigpurrrR6RColorBrewerRcpprlangRSQLiteS7scalesstringistringrtibbletidyrtidyselectutf8uuidvctrsviridisLitewithryyjsonr

PostgreSQL and SQLite side by side
Two configurations | The same table against each | What differs | Why the field types are closed | Why the primary key cannot be added later | Which one to choose

Last update: 2026-10-16
Started: 2026-08-05

Introduction to csdb
What csdb is for | What this vignette does and does not prove | Two classes, and the split between them | The validators, and one gap | The three backends | Where csdb sits | A worked example | Who owns the connection | A connection does not survive a fork | Two tables that declare one index name | Emptying a table before you write to it | The upsert method answers the same four cases

Last update: 2026-08-15
Started: 2023-03-03