class: center, middle, inverse, title-slide # Level Up 07: Referencing in R Markdown --- class: inverse # Setup ### .orange[Tasks]: 1. Open the slides for today 1. Open your AnD Report or QQM Report 1. Have your references open/ready to paste across 1. For the examples, download the [Word template](https://and.netlify.app/seminr/07/level_up/word_references_template.Rmd) & the [pdf template](https://and.netlify.app/seminr/07/level_up/pdf_references_template.Rmd) --- # APA Style .pull-left[ ### Referencing in Text Acknowledgement of sources used, written in your Rmd just as you would in a Word doc: .b[ | Authors | In-text Citation | Parenthetical Citation | | -------------------- | --------------------------| ------------------------- | | One Author | Evans (2020) | (Evans, 2020) | | Two Authors | Evans and Field (2020) | (Evans & Field, 2020) | | Three+ Authors | Evans et al. (2020) | (Evans et al., 2020) | ]] .pull-right[ ### Reference List List of all sources used, in alphabetical order For articles, the .italic[journal name] & .italic[volume] are italicised For books, the .italic[title] is italicised <img src="./images/refs.png" width="885" /> ] --- class: inverse # Getting References: Google Scholar Search for the source on Google Scholar, use the Cite button & copy the APA style reference into the list in your report Make sure to proof read the citation, they can sometimes be inaccurate/missing key information! .pull-left[ <img src="./images/gs1.png" width="1208" /> ] .pull-right[ <img src="./images/gs2.png" width="1005" /> ] <br> .italic[It is possible to use .bib files that you can export directly from a reference manager, but this is somewhat more complicated, look at the [slides from Level Up Week 01](https://and.netlify.app/seminr/01/level_up/#11) if you're interested!] --- class: inverse # Formatting References in R Markdown Even when copying over APA style references from Google Scholar, the italic formatting will be missing when we knit But we can easily italicise text by enclosing it in * or _ (either is fine - personal preference) .pull-left[ <img src="./images/refs1.png" width="1125" /> ] .pull-right[ <img src="./images/refs2.png" width="897" /> ] --- class: inverse # Hanging Indentation in Word Indented references can be automatically generated when working with pdf documents, but we can't do this with Word so we have to do it manually after any final changes have been made .pull-left[ <img src="./images/step1.png" width="1061" /> ] .pull-right[ <br> <br> <br> <br> <img src="./images/step2.png" width="817" /> ] --- class: inverse, center, middle # Your Turn! 🥳 Check out the [Word template](https://and.netlify.app/seminr/07/level_up/word_references_template.Rmd) & the [pdf template](https://and.netlify.app/seminr/07/level_up/pdf_references_template.Rmd), use them as a guide to format the references for your own report! --- class: center, middle <div class="padlet-embed" style="border:1px solid rgba(0,0,0,0.1);border-radius:2px;box-sizing:border-box;overflow:hidden;position:relative;width:100%;background:#F4F4F4"><p style="padding:0;margin:0"><iframe src="https://uofsussex.padlet.org/embed/nrud4gk8x63gbfdc" frameborder="0" allow="camera;microphone;geolocation" style="width:100%;height:608px;display:block;padding:0;margin:0"></iframe></p><div style="padding:8px;text-align:right;margin:0;"><a href="https://padlet.com?ref=embed" style="padding:0;margin:0;border:none;display:block;line-height:1;height:16px" target="_blank"><img src="https://padlet.net/embeds/made_with_padlet.png" width="86" height="16" style="padding:0;margin:0;background:none;border:none;display:inline;box-shadow:none" alt="Made with Padlet"></a></div></div>