Programmatic access

You can access the palmerpenguins data programmatically using the Redivis API for R or Python.

  1. Install the redivis-r package:
devtools::install_github("redivis/redivis-r")
  1. Generate and set an API token.

  2. Access the data:

library(redivis)

user <- redivis::user("datapages")
dataset <- user$dataset("palmerpenguins")
table <- dataset$table("penguins")

# Load table as tidyverse tibble
df <- table$to_tibble()

View documentation

  1. Install the redivis-python client library:
pip install --upgrade redivis
  1. Generate and set an API token.

  2. Access the data:

import redivis

user = redivis.user("datapages")
dataset = user.dataset("palmerpenguins")
table = dataset.table("penguins")

# Load table as a dataframe
df = table.to_pandas_dataframe()

View documentation