R for
Authoring!!

PSP Session #20…
…more APA

Problem-Solving Panel
(April 12, 2024)

  • Recap session #19       ↔︎️
  • Focal issue(s):
    • Short-term:
      • APA (again) 🙄
    • Long-term:
      • dissertation template 🎓
  • Shared problem-solving

Recap of Session #19:

APA Part I: citations and papaja

Only affects: A) in-text reference style, and B) bibliography citations

---
title: "citations"
output: pdf_document
date: "2024-04-05"
bibliography: quake.bib
csl: "apa.csl"
---
1
Include references within any type of document by creating and referencing a standard .bib file
2
Specify citation format within any type of document by referencing the associated .csl file (download from Zotero)

---
title             : "The title"
shorttitle        : "Title"

author:
  - name          : "First Author"
    affiliation   : "1"
    corresponding : yes    # Define only one
    address       : "Postal address"
    email         : "my@email.com"

affiliation:
  - id            : "1"
    institution   : "Wilhelm-Wundt-University"
  - id            : "2"
    institution   : "Konstanz Business School"
    
authornote: |
  keep space/indent

  Enter author note here.

abstract: |
  keep space/indent

  <!-- https://tinyurl.com/ybremelq -->
  
keywords          : "keywords"
wordcount         : "X"

bibliography      : ["r-references.bib"]

floatsintext      : no
figurelist        : no
tablelist         : no
footnotelist      : no
linenumbers       : yes
mask              : no
draft             : no

documentclass     : "apa7"
classoption       : "man"
output            : papaja::apa6_pdf
---    
1
Title and running head
2
Repeat as many times as necessary for co-authors (entire 5-10 block or just name and affiliation)
3
Provides the formal affiliation (here, for example, will define the line 7 author affiliation)
4
Declarations such as conflicts of interest or funding sources go here - not applicable for many projects
5
Start with a “space”. Hyperlink is a Nature magazine suggestion regarding Abstract structure
6
One of most important inclusions - you may have many .bib files for any one project (simply expand the filenames within the square brackets)
7
Extremely helpful for reviewers - your professors will thank you!
8
Omits author information from title page - helpful for journal submissions
9
Format of rendered document. Try jou instead of man to see a copy-edited preview of your paper

Today:

📜 APA Manuscripts: The Revenge 👻

Dissertation
formatting 🎓:

  1. Work zone: 🚧
    • Moar papaja!! 🥭
    • Communication
      (.Rmd with .cls)

\(\LaTeX\) resources:

.cls & .sty file specifications for noobs located here

Reed College

Session Info (April 12, 2024) Rendering:

R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.utf8 
[2] LC_CTYPE=English_United States.utf8   
[3] LC_MONETARY=English_United States.utf8
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.utf8    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.10       urlchecker_1.0.1  compiler_4.2.2    later_1.3.1      
 [5] prettyunits_1.2.0 profvis_0.3.7     remotes_2.4.2     tools_4.2.2      
 [9] digest_0.6.31     pkgbuild_1.4.0    pkgload_1.3.2     timechange_0.3.0 
[13] lubridate_1.9.3   jsonlite_1.8.8    evaluate_0.23     memoise_2.0.1    
[17] lifecycle_1.0.4   rlang_1.1.3       shiny_1.7.4       cli_3.6.0        
[21] rstudioapi_0.15.0 curl_5.2.1        yaml_2.3.8        xfun_0.42        
[25] emo_0.0.0.9000    fastmap_1.1.1     withr_3.0.0       stringr_1.5.1    
[29] knitr_1.45        generics_0.1.3    vctrs_0.6.5       fs_1.6.2         
[33] htmlwidgets_1.6.4 devtools_2.4.5    fontawesome_0.5.2 glue_1.6.2       
[37] R6_2.5.1          processx_3.8.1    rmarkdown_2.26    sessioninfo_1.2.2
[41] purrr_1.0.1       callr_3.7.3       magrittr_2.0.3    usethis_2.2.3    
[45] promises_1.2.0.1  ps_1.7.5          ellipsis_0.3.2    htmltools_0.5.7  
[49] assertthat_0.2.1  mime_0.12         xtable_1.8-4      httpuv_1.6.9     
[53] stringi_1.7.12    miniUI_0.1.1.1    cachem_1.0.8      crayon_1.5.2     

📜 APA Formatting Support 📜

Tigures 🐯

Inline text 💬

  • apa
    • Statistics reporting
  • apastats
    • Statistics reporting