https://github.com/moderndive/exoplanetdata
Tidy R data on confirmed exoplanets and their host stars from NASA's Exoplanet Archive
https://github.com/moderndive/exoplanetdata
Last synced: 10 days ago
JSON representation
Tidy R data on confirmed exoplanets and their host stars from NASA's Exoplanet Archive
- Host: GitHub
- URL: https://github.com/moderndive/exoplanetdata
- Owner: moderndive
- License: other
- Created: 2026-05-01T16:25:17.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-07-04T15:58:59.000Z (21 days ago)
- Last Synced: 2026-07-04T17:14:27.049Z (21 days ago)
- Language: R
- Homepage: https://moderndive.github.io/exoplanetdata/
- Size: 7.88 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# exoplanetdata 
Tidied datasets of confirmed exoplanets and their host stars, retrieved from
NASA's Exoplanet Archive via the [`REXoplanets`](https://github.com/JKolomanski/REXoplanets)
package. Column names have been simplified for classroom use, with units baked
into names where ambiguous. Intended as a companion dataset for introductory
statistics teaching in the spirit of the
[`moderndive`](https://moderndive.com) textbook.
### How this differs from the `exoplanets` package
`exoplanetdata` ships **ready-to-use, pre-tidied data frames** (`planets` and
`stars`) that load instantly with `data()` and need no network access — the
column names, units, and types have been curated for classroom use. It is *not*
a client for the NASA archive.
If instead you want to **query NASA's Exoplanet Archive live** and pull down
arbitrary tables and columns yourself, use the rOpenSci
[`exoplanets`](https://docs.ropensci.org/exoplanets/) package (a programmatic
API client), or [`REXoplanets`](https://github.com/JKolomanski/REXoplanets),
which `exoplanetdata` itself uses to build its snapshots.
## Installation
Once the package is on CRAN, install the released version with:
```r
install.packages("exoplanetdata")
```
You can install the development version from GitHub with:
```r
# install.packages("pak")
pak::pak("moderndive/exoplanetdata")
```
## Datasets
```{r datasets, eval = FALSE}
library(exoplanetdata)
# One row per confirmed exoplanet (host-star parameters merged in)
planets
# Reference-level stellar parameters (many rows per host star)
stars
```
See `?planets` and `?stars` for full data dictionaries.