Skip to content

Commit dda1055

Browse files
authored
Adding squirrel data for 2023-05-22 (#562)
* Update readme.md * Update README.md * adding files * adding pics * adding readme and post_vars * Update tt_data_type.csv * Update readme.md * Update README.md * Update tt_data_type.csv * correcting date * Update readme.md
1 parent b66cc71 commit dda1055

File tree

8 files changed

+3151
-0
lines changed

8 files changed

+3151
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ Need a **reminder**? There are [extensions](https://chrome.google.com/webstore/d
142142
| 18 | `2023-05-02` | [The Portal Project](data/2023/2023-05-02/readme.md) | [Portal Project Data](https://github.com/weecology/portaldata) | [Portal Project](https://portal.weecology.org/) |
143143
| 19 | `2023-05-09` | [Childcare Costs](data/2023/2023-05-09/readme.md) | [National Database of Childcare Prices](https://www.dol.gov/agencies/wb/topics/featured-childcare) | [National Database of Childcare Prices](https://www.dol.gov/agencies/wb/topics/featured-childcare) |
144144
| 20 | `2023-05-16` | [Tornados](data/2023/2023-05-16/readme.md) | [NOAA's National Weather Service Storm Prediction Center Severe Weather Maps, Graphics, and Data Page](https://www.spc.noaa.gov/wcm/#data) | [Diving into US Tornado Data](https://www.kaggle.com/code/evangower/diving-into-us-tornado-data) |
145+
| 21 | `2023-05-23` | [Central Park Squirrels](data/2023/2023-05-23/readme.md) | [2018 Central Park Squirrel Census]([https://www.spc.noaa.gov/wcm/#data](https://data.cityofnewyork.us/Environment/2018-Central-Park-Squirrel-Census-Squirrel-Data/vfnx-vebw)) | [The Squirrel Census](https://www.thesquirrelcensus.com/) |
145146

146147
***
147148

data/2023/2023-05-23/pic1.png

804 KB
Loading

data/2023/2023-05-23/pic2.png

569 KB
Loading
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"article_link": "https://data.cityofnewyork.us/Environment/2018-Central-Park-Squirrel-Census-Squirrel-Data/vfnx-vebw",
3+
"pic1_alt": "Drawing of a squirrel sitting at a desk looking like a detective. The squirrel is wearing pants, a collared shirt, and loafers, and he's looking like he's waiting for the red phone in front of him to ring. He's sitting below a sign that says The Squirrel Census Dept. of Data - NYC. There are binoculars on the desk and sign that says Dept. of Data New York City. The bookshelves next to the desk have books titled Squirrel Supplemental, The Urban Squirrel and Nuts.",
4+
"pic2_alt": "A map of squirrel observations in Central Park, New York City. One of the dots is highlighted and reads 3 Squirrels, 2 Gray and 1 Cinnamon."
5+
}

data/2023/2023-05-23/readme.md

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
### Please add alt text to your posts
2+
3+
Please add alt text (alternative text) to all of your posted graphics
4+
for `#TidyTuesday`.
5+
6+
Twitter provides
7+
[guidelines](https://help.twitter.com/en/using-twitter/picture-descriptions)
8+
for how to add alt text to your images.
9+
10+
The DataViz Society/Nightingale by way of Amy Cesal has an
11+
[article](https://medium.com/nightingale/writing-alt-text-for-data-visualization-2a218ef43f81)
12+
on writing *good* alt text for plots/graphs.
13+
14+
> Here's a simple formula for writing alt text for data visualization:
15+
> \### Chart type It's helpful for people with partial sight to know
16+
> what chart type it is and gives context for understanding the rest of
17+
> the visual. Example: Line graph \### Type of data What data is
18+
> included in the chart? The x and y axis labels may help you figure
19+
> this out. Example: number of bananas sold per day in the last year
20+
> \### Reason for including the chart Think about why you're including
21+
> this visual. What does it show that's meaningful. There should be a
22+
> point to every visual and you should tell people what to look for.
23+
> Example: the winter months have more banana sales \### Link to data or
24+
> source Don't include this in your alt text, but it should be included
25+
> somewhere in the surrounding text. People should be able to click on a
26+
> link to view the source data or dig further into the visual. This
27+
> provides transparency about your source and lets people explore the
28+
> data. Example: Data from the USDA
29+
30+
Penn State has an
31+
[article](https://accessibility.psu.edu/images/charts/) on writing alt
32+
text descriptions for charts and tables.
33+
34+
> Charts, graphs and maps use visuals to convey complex images to users.
35+
> But since they are images, these media provide serious accessibility
36+
> issues to colorblind users and users of screen readers. See the
37+
> [examples on this page](https://accessibility.psu.edu/images/charts/)
38+
> for details on how to make charts more accessible.
39+
40+
The `{rtweet}` package includes the [ability to post
41+
tweets](https://docs.ropensci.org/rtweet/reference/post_tweet.html) with
42+
alt text programatically.
43+
44+
Need a **reminder**? There are
45+
[extensions](https://chrome.google.com/webstore/detail/twitter-required-alt-text/fpjlpckbikddocimpfcgaldjghimjiik/related)
46+
that force you to remember to add Alt Text to Tweets with media.
47+
48+
# Central Park Squirrel Census
49+
50+
Squirrel data! The data this week comes from the [2018 Central Park Squirrel Census](https://data.cityofnewyork.us/Environment/2018-Central-Park-Squirrel-Census-Squirrel-Data/vfnx-vebw).
51+
52+
> [The Squirrel Census](https://www.thesquirrelcensus.com/) is a multimedia science, design, and storytelling project focusing on the Eastern gray (Sciurus carolinensis). They count squirrels and present their findings to the public. The dataset contains squirrel data for each of the 3,023 sightings, including location coordinates, age, primary and secondary fur color, elevation, activities, communications, and interactions between squirrels and with humans.
53+
54+
55+
56+
### Get the data here
57+
58+
```{r}
59+
# Get the Data
60+
61+
# Read in with tidytuesdayR package
62+
# Install from CRAN via: install.packages("tidytuesdayR")
63+
# This loads the readme and all the datasets for the week of interest
64+
65+
# Either ISO-8601 date or year/week works!
66+
67+
tuesdata <- tidytuesdayR::tt_load('2023-05-23')
68+
tuesdata <- tidytuesdayR::tt_load(2023, week = 21)
69+
70+
squirrel_data <- tuesdata$squirrel_data
71+
72+
# Or read in the data manually
73+
74+
squirrel_data <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2023/2023-05-23/squirrel_data.csv')
75+
76+
```
77+
78+
### Data Dictionary
79+
80+
# `squirrel_data.csv`
81+
82+
|variable |class |description |
83+
|:------------------------------------------|:---------|:------------------------------------------|
84+
|X |double |Longitude coordinate for squirrel sighting point |
85+
|Y |double |Latitude coordinate for squirrel sighting point |
86+
|Unique Squirrel ID |character |Identification tag for each squirrel sightings. The tag is comprised of "Hectare ID" + "Shift" + "Date" + "Hectare Squirrel Number." |
87+
|Hectare |character |ID tag, which is derived from the hectare grid used to divide and count the park area. One axis that runs predominantly north-to-south is numerical (1-42), and the axis that runs predominantly east-to-west is roman characters (A-I). |
88+
|Shift |character |Value is either "AM" or "PM," to communicate whether or not the sighting session occurred in the morning or late afternoon. |
89+
|Date |double |Concatenation of the sighting session day and month. |
90+
|Hectare Squirrel Number |double |Number within the chronological sequence of squirrel sightings for a discrete sighting session. |
91+
|Age |character |Value is either "Adult" or "Juvenile." |
92+
|Primary Fur Color |character |Primary Fur Color - value is either "Gray," "Cinnamon" or "Black." |
93+
|Highlight Fur Color |character |Discrete value or string values comprised of "Gray," "Cinnamon" or "Black." |
94+
|Combination of Primary and Highlight Color |character |A combination of the previous two columns; this column gives the total permutations of primary and highlight colors observed. |
95+
|Color notes |character |Sighters occasionally added commentary on the squirrel fur conditions. These notes are provided here. |
96+
|Location |character |Value is either "Ground Plane" or "Above Ground." Sighters were instructed to indicate the location of where the squirrel was when first sighted. |
97+
|Above Ground Sighter Measurement |character |For squirrel sightings on the ground plane, fields were populated with a value of “FALSE.” |
98+
|Specific Location |character |Sighters occasionally added commentary on the squirrel location. These notes are provided here. |
99+
|Running |logical |Squirrel was seen running. |
100+
|Chasing |logical |Squirrel was seen chasing another squirrel. |
101+
|Climbing |logical |Squirrel was seen climbing a tree or other environmental landmark. |
102+
|Eating |logical |Squirrel was seen eating. |
103+
|Foraging |logical |Squirrel was seen foraging for food. |
104+
|Other Activities |character |Other activities squirrels were observed doing. |
105+
|Kuks |logical |Squirrel was heard kukking, a chirpy vocal communication used for a variety of reasons. |
106+
|Quaas |logical |Squirrel was heard quaaing, an elongated vocal communication which can indicate the presence of a ground predator such as a dog. |
107+
|Moans |logical |Squirrel was heard moaning, a high-pitched vocal communication which can indicate the presence of an air predator such as a hawk. |
108+
|Tail flags |logical |Squirrel was seen flagging its tail. Flagging is a whipping motion used to exaggerate squirrel's size and confuse rivals or predators. Looks as if the squirrel is scribbling with tail into the air. |
109+
|Tail twitches |logical |Squirrel was seen twitching its tail. Looks like a wave running through the tail, like a breakdancer doing the arm wave. Often used to communicate interest, curiosity. |
110+
|Approaches |logical |Squirrel was seen approaching human, seeking food. |
111+
|Indifferent |logical |Squirrel was indifferent to human presence. |
112+
|Runs from |logical |Squirrel was seen running from humans, seeing them as a threat. |
113+
|Other Interactions |character |Sighter notes on other types of interactions between squirrels and humans. |
114+
|Lat/Long |character |Latitude and longitude |
115+
116+
### Cleaning Script
117+
118+
No data cleaning

0 commit comments

Comments
 (0)