Exoplanet Datasets for Teaching Introductory Statistics

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.


exoplanetdata exoplanetdata hex sticker

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.

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 package (a programmatic API client), or REXoplanets, which exoplanetdata itself uses to build its snapshots.

Installation

Once the package is on CRAN, install the released version with:

install.packages("exoplanetdata")

You can install the development version from GitHub with:

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

Datasets

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.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("exoplanetdata")

0.1.0 by Chester Ismay, 3 months ago


https://github.com/moderndive/exoplanetdata, https://moderndive.github.io/exoplanetdata/


Report a bug at https://github.com/moderndive/exoplanetdata/issues


Browse source code at https://github.com/cran/exoplanetdata


Authors: Chester Ismay [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Suggests REXoplanets, dplyr, readr, tibble, purrr, roxygen2


See at CRAN