Skip to contents

Tidied datasets of confirmed exoplanets and their host stars, retrieved from NASA’s Exoplanet Archive via the 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 textbook.

Installation

You can install the development version from GitHub with:

# install.packages("pak")
pak::pak("moderndive/exoplanets")

Datasets

library(exoplanets)

# 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.