Thanks to visit codestin.com
Credit goes to github.com

Skip to content

openwashdata/palmerpenguins

Repository files navigation

palmerpenguins

Palmer Penguins

License: CC BY 4.0 DOI


Installation

You can install the development version of palmerpenguins from GitHub with:

devtools::install_github("openwashdata/palmerpenguins", dependencies = TRUE)

Download as CSV Files

If you prefer to work with the data outside of R, you can download individual datasets as CSV files.

  1. Right-click on the “Download CSV” link for the dataset you want.
  2. Select “Save Link As” or “Download Linked File” .
  3. Choose where you’d like to save the file on your computer.
dataset CSV
penguins Download CSV

Data

library(palmerpenguins)

penguins

The dataset penguins has 344 observations and 9 variables.

Variable Types: 3 character, 6 numeric

get("penguins") |> 
  head(3) |> 
  gt::gt() |> 
  gt::as_raw_html()

rowid

species

island

bill_length_mm

bill_depth_mm

flipper_length_mm

body_mass_g

sex

year

1

Adelie

Torgersen

39.1

18.7

181

3750

male

2007

2

Adelie

Torgersen

39.5

17.4

186

3800

female

2007

3

Adelie

Torgersen

40.3

18.0

195

3250

female

2007

For an overview of the variable names, see the following table.

variable_name

variable_type

description

rowid

integer

Unique identifier assigned to each penguin observation. (Range: 1 to 344)

species

character

Species classification of the penguin. (Examples: Adelie, Gentoo, Chinstrap)

island

character

Location of the penguin observation on the island. (Examples: Torgersen, Biscoe, Dream)

bill_length_mm

numeric

Bill length of the penguin measured in millimeters. (Range: 32.1 to 59.6)

bill_depth_mm

numeric

Bill depth of the penguin measured in millimeters. (Range: 13.1 to 21.5)

flipper_length_mm

integer

Flipper length of the penguin measured in millimeters. (Range: 172 to 231)

body_mass_g

integer

Body mass of the penguin measured in grams. (Range: 2700 to 6300)

sex

character

Biological sex of the penguin. (Examples: male, female, NA)

year

integer

Year of the penguin observation. (Examples: 2007, 2008, 2009)

License

Data are available as CC-BY.

Citation

#> To cite package 'palmerpenguins' in publications use:
#> 
#>   Massari N, Schöbitz L, Tilley E (2025). "palmerpenguins: Palmer Penguins." doi:10.32614/CRAN.package.palmerpenguins
#>   <https://doi.org/10.32614/CRAN.package.palmerpenguins>, <https://openwashdata.github.io/palmerpenguins>.
#> 
#> A BibTeX entry for LaTeX users is
#> 
#>   @Misc{massari_etall:2025,
#>     title = {palmerpenguins: Palmer Penguins},
#>     author = {Nicolo Massari and Lars Schöbitz and Elizabeth Tilley},
#>     year = {2025},
#>     doi = {10.32614/CRAN.package.palmerpenguins},
#>     url = {https://openwashdata.github.io/palmerpenguins},
#>     abstract = {The Palmer Penguins dataset contains penguins measurements.},
#>     version = {0.0.1},
#>   }