๐ŸฆŽ reptiledb.data: Access the Reptile Database in R

Lifecycle: experimental CRAN status

reptiledb.data provides easy access to The Reptile Database, a comprehensive global catalogue of all living reptile species. Developed by PaulESantos, this R package includes curated snapshots of the database as ready-to-use R data objects for taxonomy, biodiversity research, and comparative analyses, along with automated utilities to check and fetch online updates.


๐ŸŒ About the Reptile Database

The Reptile Database is a volunteer-driven, non-commercial initiative that curates the global taxonomy of reptiles. It covers all known:

It currently includes:


๐Ÿ“ฆ Installation

Install the package from CRAN:

install.packages("reptiledb.data")

Or install the development version from GitHub:

# Using pak
pak::pak("PaulESantos/reptiledb.data")

โšก Quick Start

1. Using Included Snapshots

The package comes pre-packaged with structured datasets:

library(reptiledb.data)

# Load the latest included dataset snapshot
data(reptiledb_062026)

# View summary structure
str(reptiledb_062026)
#> tibble [14,719 ร— 13] (S3: tbl_df/tbl/data.frame)

# Total records
nrow(reptiledb_062026)
#> [1] 14719

# Unique accepted species
length(unique(reptiledb_062026$species))

2. Checking for Online Updates

You can check if a newer checklist has been published on The Reptile Database:

# Check if a new version is available online
check_data_update()

3. Fetching the Latest Online Data Automatically

Fetch and clean the latest live online checklist from The Reptile Database server:

# Download, clean, and cache the latest database online
latest_data <- fetch_latest_reptile_data(cache = TRUE)
head(latest_data)

๐Ÿค– Automated Database Updates

This package features an automated maintainer workflow via GitHub Actions that runs monthly. It checks for new releases on The Reptile Database server, automatically downloads and cleans raw files, creates a new snapshot dataset, updates package documentation, and opens a Pull Request.


๐Ÿ“– Citation & Credits

The data included in this package is derived from The Reptile Database, curated by a network of volunteer experts and guided by a Scientific Advisory Board. Please cite the database appropriately when using it in research:

Uetz, P., Freed, P., Aguilar, R., Reyes, F., Kudera, J. & Hoลกek, J. (eds.) (2026) The Reptile Database, http://www.reptile-database.org.


๐Ÿ™‹ Contribute

This package is maintained by PaulESantos. Contributions, issue reports, and suggestions are welcome via GitHub Issues.