Programmatic access
You can access the palmerpenguins data programmatically using the Redivis API for R or Python.
- Install the redivis-r package:
::install_github("redivis/redivis-r") devtools
Access the data:
library(redivis)
<- redivis::user("datapages")
user <- user$dataset("palmerpenguins")
dataset <- dataset$table("penguins")
table
# Load table as tidyverse tibble
<- table$to_tibble() df
- Install the redivis-python client library:
--upgrade redivis pip install
Access the data:
import redivis
= redivis.user("datapages")
user = user.dataset("palmerpenguins")
dataset = dataset.table("penguins")
table
# Load table as a dataframe
= table.to_pandas_dataframe() df