Skip to content

Commit 5592798

Browse files
committed
update for week 30 and 31 - closes #428 - thanks @Fgazzelloni !
1 parent b18bdbf commit 5592798

File tree

8 files changed

+739
-1
lines changed

8 files changed

+739
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ Need a **reminder**? There are [extensions](https://chrome.google.com/webstore/d
151151
| 27 | `2022-07-05` | [San Francisco Rentals](data/2022/2022-07-05) | [Kate Pennington](https://www.katepennington.org/data) | [Matrix-Berkeley](https://matrix.berkeley.edu/research-article/kate-pennington-on-gentrification-and-displacement-in-san-francisco/) |
152152
| 28 | `2022-07-12` | [European flights](data/2022/2022-07-12) | [Eurocontrol](https://ansperformance.eu/data/) | [ec.europa.eu](https://ec.europa.eu/eurostat/web/products-eurostat-news/-/ddn-20210914-1) |
153153
| 29 | `2022-07-19` | [Technology Adoption](data/2022/2022-07-19) | [data.nber.org](https://data.nber.org/data-appendix/w15319/) | [www.cgdev.org](https://www.cgdev.org/sites/default/files/technology-and-development-exploration-data.pdf) |
154+
| 30 | `2022-07-26` | Bring your own data | None | None |
155+
| 31 | `2022-08-02` | [Oregon Spotted Frog](data/2022/2022-08-02) | [usgs.gov spotted frog data](https://www.sciencebase.gov/catalog/item/60ba5a00d34e86b9388d86bc) | [usgs.gov spotted-frog-article](https://www.usgs.gov/centers/forest-and-rangeland-ecosystem-science-center/science/oregon-spotted-frog) |
154156

155157
***
156158

data/2022/2022-08-02/Oregon_spotted_frog_telemetry_at_Crane_Prairie_OR.csv

Lines changed: 314 additions & 0 deletions
Large diffs are not rendered by default.

data/2022/2022-08-02/frog.csv

Lines changed: 312 additions & 0 deletions
Large diffs are not rendered by default.

data/2022/2022-08-02/pic1.png

155 KB
Loading

data/2022/2022-08-02/pic2.png

1.1 MB
Loading

data/2022/2022-08-02/readme.md

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
### Please add alt text to your posts
2+
3+
Please add alt text (alternative text) to all of your posted graphics for `#TidyTuesday`.
4+
5+
Twitter provides [guidelines](https://help.twitter.com/en/using-twitter/picture-descriptions) for how to add alt text to your images.
6+
7+
The DataViz Society/Nightingale by way of Amy Cesal has an [article](https://medium.com/nightingale/writing-alt-text-for-data-visualization-2a218ef43f81) on writing _good_ alt text for plots/graphs.
8+
9+
> Here’s a simple formula for writing alt text for data visualization:
10+
> ### Chart type
11+
> It’s helpful for people with partial sight to know what chart type it is and gives context for understanding the rest of the visual.
12+
> Example: Line graph
13+
> ### Type of data
14+
> What data is included in the chart? The x and y axis labels may help you figure this out.
15+
> Example: number of bananas sold per day in the last year
16+
> ### Reason for including the chart
17+
> Think about why you’re including this visual. What does it show that’s meaningful. There should be a point to every visual and you should tell people what to look for.
18+
> Example: the winter months have more banana sales
19+
> ### Link to data or source
20+
> Don’t include this in your alt text, but it should be included somewhere in the surrounding text. People should be able to click on a link to view the source data or dig further into the visual. This provides transparency about your source and lets people explore the data.
21+
> Example: Data from the USDA
22+
23+
Penn State has an [article](https://accessibility.psu.edu/images/charts/) on writing alt text descriptions for charts and tables.
24+
25+
> Charts, graphs and maps use visuals to convey complex images to users. But since they are images, these media provide serious accessibility issues to colorblind users and users of screen readers. See the [examples on this page](https://accessibility.psu.edu/images/charts/) for details on how to make charts more accessible.
26+
27+
The `{rtweet}` package includes the [ability to post tweets](https://docs.ropensci.org/rtweet/reference/post_tweet.html) with alt text programatically.
28+
29+
Need a **reminder**? There are [extensions](https://chrome.google.com/webstore/detail/twitter-required-alt-text/fpjlpckbikddocimpfcgaldjghimjiik/related) that force you to remember to add Alt Text to Tweets with media.
30+
31+
# Oregon Spotted Frog
32+
33+
Data this week come from [USGS](https://www.sciencebase.gov/catalog/item/60ba5a00d34e86b9388d86bc). Read more about them at [USGS.gov](https://www.usgs.gov/centers/forest-and-rangeland-ecosystem-science-center/science/oregon-spotted-frog)
34+
35+
Oregon spotted frog (Rana pretiosa) telemetry and habitat use at Crane Prairie Reservoir in Oregon, USA.
36+
37+
Radio-telemetry has been used to study late-season movement and habitat use by Oregon spotted frogs (Rana pretiosa) at Crane Prairie Reservoir in Oregon. This dataset includes individual frog location data and habitat use during each tracking event that occurred roughly weekly between September and late November of 2018.
38+
39+
"...study adds to the limited data on late-season activity and habitat use in R. pretiosa. Information on seasonal habitat use, movement between seasonal habitat types, and habitats that are particularly valuable for maintaining populations is important to conservation and management. We tracked frogs within the main reservoir and in surrounding pond and river habitats, allowing for comparisons of movement relative to different habitat types and predatory threats."
40+
41+
Citation
42+
Pearl, C.A., Rowe, J.C., McCreary, B., and Adams, M.J., 2022, Oregon spotted frog (Rana pretiosa) telemetry and habitat use at Crane Prairie Reservoir in Oregon, USA: U.S. Geological Survey data release, https://doi.org/10.5066/P9DACPCV.
43+
44+
More resources:
45+
- https://en.wikipedia.org/wiki/Oregon_spotted_frog
46+
- https://wdfw.wa.gov/species-habitats/species/rana-pretiosa
47+
- https://amphibiaweb.org/species/5131
48+
49+
50+
Keywords: #Aquatic Biology, #Ecology, #Wildlife Biology
51+
52+
Raw data available at: <https://www.sciencebase.gov/catalog/item/60ba5a00d34e86b9388d86bc>
53+
54+
### Get the data here
55+
56+
```{r}
57+
# Get the Data
58+
59+
# Read in with tidytuesdayR package
60+
# Install from CRAN via: install.packages("tidytuesdayR")
61+
# This loads the readme and all the datasets for the week of interest
62+
63+
# Either ISO-8601 date or year/week works!
64+
65+
tuesdata <- tidytuesdayR::tt_load('2022-08-02')
66+
tuesdata <- tidytuesdayR::tt_load(2022, week = 31)
67+
68+
frog <- tuesdata$frog
69+
70+
# Or read in the data manually
71+
72+
frog <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2022/2022-08-02/frog.csv')
73+
74+
```
75+
76+
### Data Dictionary
77+
78+
|variable |class |description |
79+
|:---------------|:---------|:-----------|
80+
|Site |character|location |
81+
|Subsite |character | location second level (Cow Camp Pond,Cow Camp River,N Res,NE Res,SE Pond,W Res) |
82+
|HabType | character | location third level (Pond,Reservoir,River)|
83+
|SurveyDate| character | date |
84+
|Ordinal | character | Ordinal day from January 1, 2018 on which telemetry data were collected |
85+
|Frequency | character | Unique transmitter frequency associated with each individual frog |
86+
|UTME_83 | character | UTM coordinates (1,000-meter grid squares into tenths or hundredths)|
87+
|UTMN_83 | character | UTM coordinates (1,000-meter grid squares into tenths or hundredths) |
88+
|Interval | character | integer (0 to 12)|
89+
|Female | character | gender - binary (0,1)|
90+
|Water | character | water (Deep water,No water,Shallow water,Unknown water) |
91+
|Type | character | water type (Marsh/Pond,Non-aquatic,Reservoir,Stream/Canal)|
92+
|Structure | character | structure (Herbaceous veg,Leaf litter,Open,Woody debris,Woody veg)|
93+
|Substrate | character | substrate (Flocc,Mineral soil,Organic soil,Unknown substrate)|
94+
|Beaver | character | beaver (Burrow,Channel/runway,Lodge,No beaver) |
95+
|Detection | character | detection type (Captured,No visual,Visual)|
96+
97+
### Cleaning script
98+
```{r}
99+
library(tidyverse)
100+
frog <- read_csv("2022/2022-08-02/Oregon_spotted_frog_telemetry_at_Crane_Prairie_OR.csv",
101+
col_names = TRUE,
102+
trim_ws = FALSE,
103+
skip = 2
104+
)
105+
106+
```
107+

data/2022/readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,6 @@ Archive of datasets and articles from the 2022 series of `#TidyTuesday` events.
3232
| 26 | `2022-06-28` | [UK Gender pay gap](2022-06-28) | [gender-pay-gap.service.gov.uk](https://gender-pay-gap.service.gov.uk/) | [ons.gov.uk](https://www.ons.gov.uk/employmentandlabourmarket/peopleinwork/earningsandworkinghours/articles/findoutthegenderpaygapforyourjob/2016-12-09) |
3333
| 27 | `2022-07-05` | [San Francisco Rentals](2022-07-05) | [Kate Pennington](https://www.katepennington.org/data) | [Matrix-Berkeley](https://matrix.berkeley.edu/research-article/kate-pennington-on-gentrification-and-displacement-in-san-francisco/) |
3434
| 28 | `2022-07-12` | [European flights](2022-07-12) | [Eurocontrol](https://ansperformance.eu/data/) | [ec.europa.eu](https://ec.europa.eu/eurostat/web/products-eurostat-news/-/ddn-20210914-1) |
35-
| 29 | `2022-07-19` | [Technology Adoption](2022-07-19) | [data.nber.org](https://data.nber.org/data-appendix/w15319/) | [www.cgdev.org](https://www.cgdev.org/sites/default/files/technology-and-development-exploration-data.pdf) |
35+
| 29 | `2022-07-19` | [Technology Adoption](2022-07-19) | [data.nber.org](https://data.nber.org/data-appendix/w15319/) | [www.cgdev.org](https://www.cgdev.org/sites/default/files/technology-and-development-exploration-data.pdf) |
36+
| 30 | `2022-07-26` | Bring your own data | None | None |
37+
| 31 | `2022-08-02` | [Oregon Spotted Frog](2022-08-02) | [usgs.gov spotted frog data](https://www.sciencebase.gov/catalog/item/60ba5a00d34e86b9388d86bc) | [usgs.gov spotted-frog-article](https://www.usgs.gov/centers/forest-and-rangeland-ecosystem-science-center/science/oregon-spotted-frog) |

static/tt_data_type.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Week,Date,year,data_files,data_type,delim
2+
31,2022-08-02,2022,frogs.csv,csv,","
23
29,2022-07-19,2022,technology.csv,csv,","
34
28,2022-07-12,2022,flights.csv,csv,","
45
27,2022-07-05,2022,rent.csv,csv,","

0 commit comments

Comments
 (0)