class: title-slide, nologo, nobar ![:spacer 10px]() .hanging[ ### Steffi LaZerte] ![:img right: 525px, bottom: 25px, 300px, Black text and black mechanical gears in the upper right corner with the letters S and L. The text reads Dr. Steffi LaZerte analysis and data tools for science](https://steffilazerte.ca/images/logo_eg.png) ![:img right: 275px, bottom: 25px, 200px, Black text reads 'Brandon University' next to a shield with two open books above an inverted V with an oil lamp and three stalks of wheat](https://www.brandonu.ca/communications/files/Brandon-University-Horizontal-Logo-1-Colour-Black-RGB.png) ![:spacer 50px]() # **How can ornithologists find R packages?** # **Comment les ornithologues peuvent-ils trouver des packages R?** ![:spacer 10px]() ## Symposium: Great R packages for Ornithologists, AOS & SCO-SOC 2021 ![:spacer 30px]() .footnote[ <svg viewBox="0 0 512 512" style="height:1em;position:relative;display:inline-block;top:.1em;" xmlns="http://www.w3.org/2000/svg"> <title>Twitter</title> <path d="M496,109.5a201.8,201.8,0,0,1-56.55,15.3,97.51,97.51,0,0,0,43.33-53.6,197.74,197.74,0,0,1-62.56,23.5A99.14,99.14,0,0,0,348.31,64c-54.42,0-98.46,43.4-98.46,96.9a93.21,93.21,0,0,0,2.54,22.1,280.7,280.7,0,0,1-203-101.3A95.69,95.69,0,0,0,36,130.4C36,164,53.53,193.7,80,211.1A97.5,97.5,0,0,1,35.22,199v1.2c0,47,34,86.1,79,95a100.76,100.76,0,0,1-25.94,3.4,94.38,94.38,0,0,1-18.51-1.8c12.51,38.5,48.92,66.5,92.05,67.3A199.59,199.59,0,0,1,39.5,405.6,203,203,0,0,1,16,404.2,278.68,278.68,0,0,0,166.74,448c181.36,0,280.44-147.7,280.44-275.8,0-4.2-.11-8.4-.31-12.5A198.48,198.48,0,0,0,496,109.5Z"></path></svg> @steffilazerte <svg viewBox="0 0 512 512" style="height:1em;position:relative;display:inline-block;top:.1em;" xmlns="http://www.w3.org/2000/svg"> <title>GitHub</title> <path d="M256,32C132.3,32,32,134.9,32,261.7c0,101.5,64.2,187.5,153.2,217.9a17.56,17.56,0,0,0,3.8.4c8.3,0,11.5-6.1,11.5-11.4,0-5.5-.2-19.9-.3-39.1a102.4,102.4,0,0,1-22.6,2.7c-43.1,0-52.9-33.5-52.9-33.5-10.2-26.5-24.9-33.6-24.9-33.6-19.5-13.7-.1-14.1,1.4-14.1h.1c22.5,2,34.3,23.8,34.3,23.8,11.2,19.6,26.2,25.1,39.6,25.1a63,63,0,0,0,25.6-6c2-14.8,7.8-24.9,14.2-30.7-49.7-5.8-102-25.5-102-113.5,0-25.1,8.7-45.6,23-61.6-2.3-5.8-10-29.2,2.2-60.8a18.64,18.64,0,0,1,5-.5c8.1,0,26.4,3.1,56.6,24.1a208.21,208.21,0,0,1,112.2,0c30.2-21,48.5-24.1,56.6-24.1a18.64,18.64,0,0,1,5,.5c12.2,31.6,4.5,55,2.2,60.8,14.3,16.1,23,36.6,23,61.6,0,88.2-52.4,107.6-102.3,113.3,8,7.1,15.2,21.1,15.2,42.5,0,30.7-.3,55.5-.3,63,0,5.4,3.1,11.5,11.4,11.5a19.35,19.35,0,0,0,4-.4C415.9,449.2,480,363.1,480,261.7,480,134.9,379.7,32,256,32Z"></path></svg> steffilazerte <svg viewBox="0 0 512 512" style="height:1em;position:relative;display:inline-block;top:.1em;" xmlns="http://www.w3.org/2000/svg"> <title>World wide web</title> <path d="M256,48C141.13,48,48,141.13,48,256s93.13,208,208,208,208-93.13,208-208S370.87,48,256,48Z" style="fill:none;stroke:#000;stroke-miterlimit:10;stroke-width:32px"></path> <path d="M256,48c-58.07,0-112.67,93.13-112.67,208S197.93,464,256,464s112.67-93.13,112.67-208S314.07,48,256,48Z" style="fill:none;stroke:#000;stroke-miterlimit:10;stroke-width:32px"></path> <path d="M117.33,117.33c38.24,27.15,86.38,43.34,138.67,43.34s100.43-16.19,138.67-43.34" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"></path> <path d="M394.67,394.67c-38.24-27.15-86.38-43.34-138.67-43.34s-100.43,16.19-138.67,43.34" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"></path> <line x1="256" y1="48" x2="256" y2="464" style="fill:none;stroke:#000;stroke-miterlimit:10;stroke-width:32px"></line> <line x1="464" y1="256" x2="48" y2="256" style="fill:none;stroke:#000;stroke-miterlimit:10;stroke-width:32px"></line></svg> steffilazerte.ca ] ??? Hi Everyone! I'm Steffi LaZerte from Brandon, Manitoba in Canada Welcome to our Lightning symposium: Great R packages for Ornithologists. I'm excited to get the ball rolling with "How can ornithologists find R packages? --- # What is R? | Qu'est ce que R? ## A statistical programming language and environment - Great for data management/manipulation (not just stats) - Free and Open Source Software (FOSS) - Almost infinitely extensible with packages ![:spacer 1px]() ## Un environment et langage de programmation statistique - Idéal pour la gestion/manipulation des données (pas seulement les stats) - Source libre et ouvert - Presque infiniment extensible avec des packages ![:img right:25px, bottom: 35%, 20%, Blue R with grey circle outline around the top half](https://www.r-project.org/Rlogo.png) -- .center[.large[**Sounds great! | Parfait!**]] --- # Too many packages! | Trop de packages! ![:spacer 4%]() .center[.large[How can ornithologists find R packages?]] ![:spacer 4%]() .center[.large[Comment les ornithologues peuvent-ils trouver des packages R?]] --- class: split-50 # Package collections | Collections de packages .center[ ### rOpenSci .small[(<https://ropensci.org>)] ![:img center, bottom:40%, 15%, Sky blue hex sticker with a large white letters R and O. The O is made up of a circular arrow](https://raw.githubusercontent.com/ropensci/logos/master/stickers/blue_short_hexsticker.png) ![:spacer 7%]() .columnl[ ### tidyverse .small[(<https://tidyverse.org/>)] ] ![:img left: 18.5%, bottom: 5%, 15%, Dark blue hex sticker with the text tidyverse and multicoloured dots](https://www.rstudio.com/wp-content/uploads/2014/04/tidyverse.png) .columnr[ ### metaverse .small[(<https://rmetaverse.github.io/>)] ] ] ![:img right: 18.5%, bottom: 5%, 15%, Hex sticker with the image of a pink and beach nebula dotted with stars and the text metaverse](https://rmetaverse.github.io/metaverse/reference/figures/metaverse_hex.png) ??? rOpenSci is an organization that curates and performs software review of R packages for accessing data, and are now also branching out into reviewing statistical packages as well tidyverse is a collection of R packages that work well together for manipulating/munging data metaverse is a collection of R packages for metadata analysis --- class: nobar, split-30 .columnl[] .columnr[ <https://r-universe.dev> .medium[**In development, soon with tags and categories!<br> En développement, bientôt avec des tags et des catégories!**] ] ![:img left: 10.5%, top: 5%, 20%, Grey box with white text saying ROpenSci R-universe. The O in ROpenSci is a planet with rings and moons](Figures/runiverse.png) ![:img center, bottom: 0%, 79%, A screenshot of the R-universe dashboard featuring a list of packages for the 'predictiveecology' universe and title on the side bar 'Predictive Ecology Group' and description 'Ecological forecasting models and data'. There is a stylized logo with an orange and yellow flame overlaid with a green and brown tree and brown silhouettes of a cariboo and an insect.](Figures/runiverse_predictiveecology.png) ??? A related and relatively new platform is the R-universe by rOpenSci Here, individuals or organizations can create their own "universes" which we can than explore. Important to note that this platform is still in development, and they're planing on adding other metrics, like tags or categories, which we'll be able to use to search for packages. So I'm really excited for when this becomes more mature. --- class: split-50 # R Task Views .columnl[ ## Annotated collections of packages - Browse on CRAN .small[(main network of R packages)]<br>.small[<https://cran.r-project.org/web/views/>] - [Environmetrics](https://cran.r-project.org/web/views/Environmetrics.html), [Spatial](https://cran.r-project.org/web/views/Spatial.html), [Survival](https://cran.r-project.org/web/views/Survival.html), [Tracking](https://cran.r-project.org/web/views/Tracking.html) ] .columnr[ ## Collections annotées de packages - Naviguez sur CRAN .small[(réseau principal de packages R)]<br>.small[<https://cran.r-project.org/web/views/>] - [Environmetrics](https://cran.r-project.org/web/views/Environmetrics.html), [Spatial](https://cran.r-project.org/web/views/Spatial.html), [Survival](https://cran.r-project.org/web/views/Survival.html), [Tracking](https://cran.r-project.org/web/views/Tracking.html) ] -- ![:spacer 10%]() .large[**Stay tuned! | Restez à l'écoute!**] > Symposium: Great R packages for Ornithologists > > **Putting it all together: Ornithometrics — a task view for ornithology** > > Marc-Olivier Beausoleil > Tuesday Aug 10th 11:05am Eastern ![:img right: 20px, bottom: 20%, 15%, A hex sticker with the text 'Ornithometrics' and a nautilus that blends into a bird](https://raw.githubusercontent.com/beausoleilmo/Ornithometrics-ctv/main/images/ornitho_logo.png) ??? And even more relevant, we have Marc-Olivier Beausoleil talking in this symposium, about his new Ornithometrics task view. So I encourage you to check that out! --- class: split-50 # Methods *journals* | *Journaux* de méthodes .columnl[ ### Methods in Ecology and Evolution .small[<http://www.methodsinecologyandevolution.org/>] ] ![:img left:20px, bottom: 0, 43%, A screen shot of a list of papers with 'R package' in the title](Figures/MEE.png) .columnlr[ ### Journal of Open Source Software .small[<https://joss.theoj.org/>] ] ![:img right:80px, bottom: 0, 45%, A screen shot of a list of papers with the tag 'R' below them](Figures/JOSS.png) --- class: split-70 # Methods *sections* | *Sections* méthodes ![:img center, center, 40%, A screen shot of a paragraph from an articles methods section reading 'To determine whether the odds of being an atypical singer increased with urbanization, we performed a logistic regression of male singer type (atypical/typical) against the urbanization index using R statistical software (version 3.3.2; R Core Team 2016). We calculated bias-corrected and adjusted (BCa) bootstrap 95% CI for coefficients. We performed 10000 replicates using the boot package for R (version 1.3-20; Angelo and Ripley 2017). Figures were created using the R package ggplot2 (version 2.2.1; Wickham 2009). Spectrograms were created with Hanning window lengths of 1024 using the R packages ggplot2 and seewave (version 2.0.5; Sueur et al. 2008).' The final two sentences are highlighted in bright yellow.](Figures/methods.png) ![:img left:6.5%, bottom: 40%, 15%,Hex sticker with grey border and white background. Text says ggplot2 with blue dots creating a zig zag pattern across the top connected by grey lines](https://raw.githubusercontent.com/tidyverse/ggplot2/master/man/figures/logo.png) ![:img left:5%, bottom: 30%, 20%, Black text reads 'seewave' followed by a pale green tilde](https://rug.mnhn.fr/seewave/PICT/seewave_logo.png) .footnote[.small[LaZerte et al. 2019. More Mountain Chickadees (*Poecile gambeli*) sing atypical songs in urban than in rural areas]] -- .columnl[] .columnr[ ![:spacer 40px]() .center[What does this imply?<br>**Cite R packages you use!!!**] ![:spacer 40px]() .center[Qu'est-ce que cela implique?<br>**Citez les packages R que vous utilisez!!!**] ] ??? You should cite the R pacakges you use a) because it makes your work more reproducible, b) it give credit to the package authors and c) it makes it easier for your colleages to find new and cool packages as well! --- # Methods *sections* | *Sections* méthodes ![:img center, top: 25%, 40%, Black text reads 'seewave' followed by a pale green tilde](https://rug.mnhn.fr/seewave/PICT/seewave_logo.png) ![:spacer 100px]() > Symposium: Great R packages for Ornithologists > > **seewave and tuneR: Sound analysis in ornithology** > > Sunny Tseng > Tuesday Aug 10th 10:17am Eastern ??? On that note, if I peaked your interest with the seewave package we have a talk in this symposium on Seewave and tuneR by Sunny Tseng --- # Ask your colleagues! | Demandez à vos collègues! .center[Don't code alone 😁 Ne code pas seul] .center[Follow `#RStats` on Twitter | Suivez `#RStats` sur Twitter] ![:img center, bottom: 0, 68%, A cartoon graph with 'How much I think I know about R' on the y axis ranging from 'I know nothing' to 'I know lots!' and Time on the x axis. A purple line accompanied by smiley faces and grimaces increases then plunges then increases again to a higher point then plunges again with the words 'join R community on twitter' and a smiley face with 'mind blown'.](https://raw.githubusercontent.com/allisonhorst/stats-illustrations/master/rstats-artwork/r_rollercoaster.png) .footnote[Artwork|Oeuvre [@allisonhorst](https://twitter.com/allison_horst)] ??? Lastly, but definitely not least, ask your colleagues! Coding alone is frustrating, and talking to others is a great way to get new ideas and learn about new packages. If you're on twitter, follow the RSTATS hashtag, twitter has a great R community --- # Ask your colleagues! | Demandez à vos collègues! ## In this symposium alone... | Dans ce seul symposium... .small[ - **dplyr**: A useful toolbox for manipulating data - **sf**, **raster**, and **tmap**: The spatial data trinity - **osmdata**: Roadless areas and avian diversity, - **seewave** and **tuneR**: Sound analysis in ornithology - **warbler** and **Rraven**: Bioacoustics in R - **soundecology**: Using acoustic indices for landscape assessment and monitoring - **naturecounts**: Millions of bird occurrence records at your fingertips - **bbsAssistant**: An R package for downloading and handling data and information from the North American Breeding Bird Survey - **motus**: Managing motus data in R - **track2KBA**: An R package for identifying important sites for biodiversity from tracking data - **MixSIAR**: An R package for avian diet analysis - **INLA**: A way for ecologists to overcome their worst impulses - **pavo**: Color analysis in birds - moult and **moultmcmc**: Inference for moult phenology models ] .medium[ > 18 packages used by your colleagues... Who else has exciting things to share?<br> > 18 packages utilisés par vos collègues... Qui d'autre a des choses passionnantes à partager?] ??? In this symposium alone there are 18 R packages that your colleagues are going to talk about. Just imagine who else might have something exciting to share? --- class: split-50 # Take home | Conclusion ![:spacer 10px]() .columnl[ .align-right[ LOTS of packages for ornithologists!<br> R is not just for Stats<br> Cite the packages you use<br> Don't code alone 😁<br> Ask your colleagues! ]] .columnr[ BEAUCOUP de paquets pour les ornithologues!<br> R n'est pas seulement pour les statistiques<br> Citez les packages que vous utilisez<br> 😁 Ne code pas seul<br> Demandez à vos collègues!<br> ] ![:img left: 5%, top: 30%, 10%, Blue R with grey circle outline around the top half. A black beack is added to the front of the round part of the R and a black circle for an eye is added to the center of the R. A hazy black wing has been added to the lower back of the R.](Figures/R_bird.png) -- ![:spacer 10%]() .columnl[ .align-right[ **Thanks to the [Software Sustainability Institute](https://www.software.ac.uk/about) for sponsoring this symposium!** ]] .columnr[ **Merci au [Software Sustainability Institute](https://www.software.ac.uk/about) d'avoir parrainé ce symposium!** ] ![:img left: 3%, bottom: 18%, 300px, Black text and black mechanical gears in the upper right corner with the letters S and L. The text reads 'Dr. Steffi LaZerte' in big and in smaller letters below 'Analysis and Data Tools for Science'](https://steffilazerte.ca/images/logo_eg.png) ![:img left: 33%, bottom: 19%, 175px, Black text reads 'Brandon University' next to a shield with two open books above an inverted V with an oil lamp and three stalks of wheat](https://www.brandonu.ca/communications/files/Brandon-University-Horizontal-Logo-1-Colour-Black-RGB.png) .columnr[ ![:spacer 12%]() .small[ .center[ ]]] .footnote[ .small[ <svg viewBox="0 0 512 512" style="height:1em;position:relative;display:inline-block;top:.1em;" xmlns="http://www.w3.org/2000/svg"> <title>Twitter</title> <path d="M496,109.5a201.8,201.8,0,0,1-56.55,15.3,97.51,97.51,0,0,0,43.33-53.6,197.74,197.74,0,0,1-62.56,23.5A99.14,99.14,0,0,0,348.31,64c-54.42,0-98.46,43.4-98.46,96.9a93.21,93.21,0,0,0,2.54,22.1,280.7,280.7,0,0,1-203-101.3A95.69,95.69,0,0,0,36,130.4C36,164,53.53,193.7,80,211.1A97.5,97.5,0,0,1,35.22,199v1.2c0,47,34,86.1,79,95a100.76,100.76,0,0,1-25.94,3.4,94.38,94.38,0,0,1-18.51-1.8c12.51,38.5,48.92,66.5,92.05,67.3A199.59,199.59,0,0,1,39.5,405.6,203,203,0,0,1,16,404.2,278.68,278.68,0,0,0,166.74,448c181.36,0,280.44-147.7,280.44-275.8,0-4.2-.11-8.4-.31-12.5A198.48,198.48,0,0,0,496,109.5Z"></path></svg> @steffilazerte | <svg viewBox="0 0 512 512" style="height:1em;position:relative;display:inline-block;top:.1em;" xmlns="http://www.w3.org/2000/svg"> <title>GitHub</title> <path d="M256,32C132.3,32,32,134.9,32,261.7c0,101.5,64.2,187.5,153.2,217.9a17.56,17.56,0,0,0,3.8.4c8.3,0,11.5-6.1,11.5-11.4,0-5.5-.2-19.9-.3-39.1a102.4,102.4,0,0,1-22.6,2.7c-43.1,0-52.9-33.5-52.9-33.5-10.2-26.5-24.9-33.6-24.9-33.6-19.5-13.7-.1-14.1,1.4-14.1h.1c22.5,2,34.3,23.8,34.3,23.8,11.2,19.6,26.2,25.1,39.6,25.1a63,63,0,0,0,25.6-6c2-14.8,7.8-24.9,14.2-30.7-49.7-5.8-102-25.5-102-113.5,0-25.1,8.7-45.6,23-61.6-2.3-5.8-10-29.2,2.2-60.8a18.64,18.64,0,0,1,5-.5c8.1,0,26.4,3.1,56.6,24.1a208.21,208.21,0,0,1,112.2,0c30.2-21,48.5-24.1,56.6-24.1a18.64,18.64,0,0,1,5,.5c12.2,31.6,4.5,55,2.2,60.8,14.3,16.1,23,36.6,23,61.6,0,88.2-52.4,107.6-102.3,113.3,8,7.1,15.2,21.1,15.2,42.5,0,30.7-.3,55.5-.3,63,0,5.4,3.1,11.5,11.4,11.5a19.35,19.35,0,0,0,4-.4C415.9,449.2,480,363.1,480,261.7,480,134.9,379.7,32,256,32Z"></path></svg> steffilazerte | <svg viewBox="0 0 512 512" style="height:1em;position:relative;display:inline-block;top:.1em;" xmlns="http://www.w3.org/2000/svg"> <title>World wide web</title> <path d="M256,48C141.13,48,48,141.13,48,256s93.13,208,208,208,208-93.13,208-208S370.87,48,256,48Z" style="fill:none;stroke:#000;stroke-miterlimit:10;stroke-width:32px"></path> <path d="M256,48c-58.07,0-112.67,93.13-112.67,208S197.93,464,256,464s112.67-93.13,112.67-208S314.07,48,256,48Z" style="fill:none;stroke:#000;stroke-miterlimit:10;stroke-width:32px"></path> <path d="M117.33,117.33c38.24,27.15,86.38,43.34,138.67,43.34s100.43-16.19,138.67-43.34" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"></path> <path d="M394.67,394.67c-38.24-27.15-86.38-43.34-138.67-43.34s-100.43,16.19-138.67,43.34" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"></path> <line x1="256" y1="48" x2="256" y2="464" style="fill:none;stroke:#000;stroke-miterlimit:10;stroke-width:32px"></line> <line x1="464" y1="256" x2="48" y2="256" style="fill:none;stroke:#000;stroke-miterlimit:10;stroke-width:32px"></line></svg> steffilazerte.ca<br> Slides: <https://steffilazerte.ca/presentations.html>; Created with the R package [xaringan](https://github.com/yihui/xaringan), using [remark.js](https://remarkjs.com), [knitr](http://yihui.name/knitr), and [R Markdown](https://rmarkdown.rstudio.com)<br> Icons from [Ionicons](https://ionic.io/ionicons) and [Academicons](https://jpswalsh.github.io/academicons/); Compiled on 2021-07-30]] .footnote-right[ .small[ ]] <!-- ![:img right: 450px, bottom: 15px, 125px, , ](../QR.svg) --> ??? And I want to give a special thanks to the Software Sustainability Institute for sponsoring this symposium