๐ฆ reptiledb.data: Access the Reptile Database in R
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:
- Snakes ๐
- Lizards ๐ฆ
- Turtles ๐ข
- Amphisbaenians
- Tuataras
- Crocodiles ๐
It currently includes:
- Over 10,000 species
- Approximately 2,800 subspecies
- Taxonomic hierarchy (orders, families, genera, species, synonyms)
- Distribution and type locality data
- Literature references and nomenclatural information
๐ฆ 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:
reptiledb_062026(Latest snapshot - June 2026, 14,719 entries)reptiledb_092025(September 2025 snapshot, 14,585 entries)reptiledb_012025(January 2025 snapshot, 14,539 entries)
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.