Data Analysis Relating to Star Trek
Overview
Provides datasets related to the Star Trek fictional universe and functions for working with the data. The package also provides access to real world datasets based on the televised series and other related licensed media productions. It interfaces with the Star Trek API (STAPI) (http://stapi.co/), Memory Alpha (https://memory-alpha.fandom.com/wiki/Portal:Main), and Memory Beta (https://memory-beta.fandom.com/wiki/Main_Page) to retrieve data, metadata and other information relating to Star Trek. It also contains several local datasets covering a variety of topics. The package also provides functions for working with data from other Star Trek-related R data packages containing larger datasets not stored in 'rtrek'.
- Fixed bug in to MA series portal retrieval.
- Updated documentation.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 30includes a package overview page
- Examples that run
- 39%7 run in a plain check · 6 only when donttest examples are enabled (R CMD check --as-cran) · 5 never run
- Exported functions with examples
- 95%
- Documented parameters
- 97%
- Return-value docs
- 95%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 1,087
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Releases over time
Issues over time
12 development-tooling and community-health practices detected across 8 families in the upstream repository
Checks run against github.com/leonawicz/rtrek on 2026-10-18.
The R CMD check workflow runs on Linux and macOS, and on R-devel
Show all practicesHide 4 practices
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.5.2Latest
- RR 4.5.0 released · 2025-04-11
- 0.5.12024-09-12 · diff ↗
- 0.5.02024-06-29 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.4.0
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.3.32021-06-01 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.3.22020-11-16 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.3.0
- 0.2.5
- RR 3.6.0 released · 2019-04-26
Show 3 earlier eventsHide 3 earlier events
- 0.2.02019-01-11 · diff ↗ ·
removed 1 export
st_book_seriesadded 11 exports
has_internet, ma_article, ma_image, ma_search, mb_article, mb_image, mb_search, mb_timeline, memory_alpha, memory_beta, st_books_wiki - 0.1.02018-06-06
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-06-06
- Total releases
- 10 / 8 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1
- Bundled data
- 188 KB / 10 files
- Download size
- 540 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("rtrek")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-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.