Work with Microsoft Access Files
Overview
Work with Microsoft Access '.mdb' and '.accdb' files using the open source 'MDB Tools' library https://github.com/mdbtools/mdbtools/. The library is compiled and bundled with the package, so no external installation is required. Provides high-level helpers for reading tables, exporting to CSV or JSON, inspecting table definitions, and running SQL queries. Also exposes a full read-only 'DBI' interface for use with standard database workflows.
Breaking changes
- Binary and OLE fields are now returned as list columns of raw vectors instead of character strings (#18).
- Empty text values are now returned as
""instead ofNA. Only NULL values becomeNA(#18). mdb_example()now returns the bundled Northwind database (nwind.mdb). The nycflights13 example file has been removed (#18).
New features
- New
mdb_stream_table()opens a table as a DBI result that can be read in batches withDBI::dbFetch(), keeping memory use bounded for large tables.dbReadTable()andread_mdb()now read through the same cursor. SQL queries sent withdbSendQuery()are still read in full (#18, @meztez).
Show all changes in 0.4.0Hide the rest of the changes in 0.4.0
Bug fixes
dbFetch()now advances throughdbSendQuery()results across successive calls, anddbHasCompleted()reports completion correctly (#18).dbFetch()acceptsn = 0and returns a zero-row data frame with the correct column types.dbIsValid()is nowFALSEafterdbClearResult()(#18).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-19
- WARNING12 OK, 1 WARNING2026-07-16
- OK13 OK2026-05-29
Show 2 earlier changesHide 2 earlier changes
- ERROR11 OK, 2 ERROR2026-05-24
- OK14 OK2026-03-10
Documentation
- Help pages
- 19 (1 internal)
- Examples that run
- 82%14 run in a plain check · 3 never run
- Exported functions with examples
- 100%
- Documented parameters
- 96%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 80%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
12 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/k5cents/mdbr on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-26 · The repository has a site deploy workflow
Show all practicesHide 2 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-05-22Commits: at least 23 crediting it in the message
- Claude Sonnet 4.617 commits · May to Jul 2026
- Claude Opus 5.56 commits · Sep 2026
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.4.0Latest
- 0.3.22026-05-28 · diff ↗
- 0.3.12026-05-28 · diff ↗
- 0.3.02026-05-23 · diff ↗ ·
added 11 exports
mdb, mdb_array, mdb_count, mdb_export, mdb_header, mdb_hexdump, mdb_json, mdb_prop, mdb_queries, mdb_sql, mdb_ver - RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.2.12024-03-12 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.1.22020-11-09
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-11-09
- Total releases
- 6 / 6 yrs
- License
- GPL-3 | LGPL-2 OSI · relicensed from GPL-3 in 0.3.0
- Download size
- 1.2 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mdbr")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.