# On the format of the Palmer Penguins dataset

**URL:** https://discourse.julialang.org/t/on-the-format-of-the-palmer-penguins-dataset/86915
**Category:** Data
**Tags:** question
**Created:** [September 7, 2022, 10:16pm UTC](https://discourse.julialang.org/t/on-the-format-of-the-palmer-penguins-dataset/86915 "2022-09-07T22:16:10Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![martinmestre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/martinmestre/32/215857_2.png) [@martinmestre](https://discourse.julialang.org/u/martinmestre)
#### Post date: [September 7, 2022, 10:16pm UTC](https://discourse.julialang.org/t/on-the-format-of-the-palmer-penguins-dataset/86915/1 "2022-09-07T22:16:10Z")

</div>

Hello all!

Sorry for this basic question. I have been trying to understand whether PalmerPenguins dataset comes as a long or wide format. I would appreciate if you could check the following:  
As each row corresponds univocally to a given penguin, it is in wide format.

As I haven’t been able to imagine how its long format counterpart would be, I am not sure.

For completeness, is the main AoG tutorial prepared for wide format table ?

Best.

---

<div class="post-metadata">

### Author: ![jar1](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@jar1](https://discourse.julialang.org/u/jar1)
#### Post date: [September 7, 2022, 10:21pm UTC](https://discourse.julialang.org/t/on-the-format-of-the-palmer-penguins-dataset/86915/2 "2022-09-07T22:21:51Z")

</div>

It could be made longer by changing

| penguin\_id | species | island | bill\_length\_mm | bill\_depth\_mm |  
| 1 | Adelie | Torgersen | 39.1 | 18.7 |

to

|penguin\_id | species | island | attribute\_name | measurement\_value |  
| 1 | Adelie | Torgersen | bill\_length\_mm | 39.1 |  
| 1 | Adelie | Torgersen | bill\_depth\_mm | 18.7 |

I change data to make it “tidy” in the sense described at [12 Tidy data | R for Data Science](https://r4ds.had.co.nz/tidy-data.html) but the penguins already is tidy. I’m not sure if “wide” and “long” are absolutes.

---

<div class="post-metadata">

### Author: ![martinmestre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/martinmestre/32/215857_2.png) [@martinmestre](https://discourse.julialang.org/u/martinmestre)
#### Post date: [September 7, 2022, 11:15pm UTC](https://discourse.julialang.org/t/on-the-format-of-the-palmer-penguins-dataset/86915/3 "2022-09-07T23:15:02Z")

</div>

Thank you a lot.
