Programmatic access
You can access the palmerpenguins data programmatically using the Redivis API for R or Python.
- Install the redivis-r package:
devtools::install_github("redivis/redivis-r")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()- Install the redivis-python client library:
pip install --upgrade redivisAccess 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()