Skip to content

Commit 40819d4

Browse files
20260103 - convert to Quarto
1 parent 6f31c48 commit 40819d4

27 files changed

Lines changed: 452 additions & 638 deletions

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Lab Wiki
22

33
This is the code that creates the Wiki for the Developmental Psychopathology Lab.
4-
The Lab Wiki is located here: **https://devpsylab.github.io/LabWiki**
4+
The Lab Wiki is located here: **<https://devpsylab.github.io/LabWiki>**
55

66
# License
77

@@ -12,6 +12,6 @@ This work is licensed under a
1212

1313
[![CC BY 4.0][cc-by-image]][cc-by]
1414

15-
[cc-by]: https://creativecommons.org/licenses/by/4.0/
16-
[cc-by-image]: https://i.creativecommons.org/l/by/4.0/88x31.png
17-
[cc-by-shield]: https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg
15+
[cc-by]: <https://creativecommons.org/licenses/by/4.0/>
16+
[cc-by-image]: <https://i.creativecommons.org/l/by/4.0/88x31.png>
17+
[cc-by-shield]: <https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg>

about.qmd

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,12 @@
22
title: "About This Website"
33
---
44

5-
```{r setup, include = FALSE}
6-
knitr::opts_chunk$set(
7-
echo = TRUE,
8-
error = TRUE,
9-
comment = "")
10-
```
11-
12-
The Lab Wiki was generated with [`rmarkdown`](https://bookdown.org/yihui/rmarkdown/rmarkdown-site.html) (archived at https://perma.cc/VYU5-J2BF).
5+
The Lab Wiki was generated with [Quarto](https://quarto.org).
136
The codebase that was used to generate the Lab Wiki is located [here](https://github.com/DevPsyLab/LabWiki).
147

158
# Contact
169

17-
If you have questions about the lab and are not sure who to contact, please contact devpsy-lab@uiowa.edu.
10+
If you have questions about the lab and are not sure who to contact, please contact [devpsy-lab@uiowa.edu](mailto:devpsy-lab@uiowa.edu).
1811

1912
# License
2013

@@ -25,9 +18,9 @@ This work is licensed under a
2518

2619
[![CC BY 4.0][cc-by-image]][cc-by]
2720

28-
[cc-by]: https://creativecommons.org/licenses/by/4.0/
29-
[cc-by-image]: https://i.creativecommons.org/l/by/4.0/88x31.png
30-
[cc-by-shield]: https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg
21+
[cc-by]: <https://creativecommons.org/licenses/by/4.0/>
22+
[cc-by-image]: <https://i.creativecommons.org/l/by/4.0/88x31.png>
23+
[cc-by-shield]: <https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg>
3124

3225
# Session Info
3326

adobe.qmd

Lines changed: 18 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
---
22
title: "Adobe Best Practice Guide"
3-
output:
4-
html_document:
5-
code_folding: show
63
---
74

8-
```{r setup, include = FALSE}
9-
knitr::opts_chunk$set(
10-
echo = TRUE,
11-
error = TRUE,
12-
comment = "",
13-
class.source = "fold-show")
14-
```
15-
165
# Adobe Best Practices
176

187
- Name variables all lowercase with no spaces; use underscores if separating words
@@ -38,7 +27,7 @@ However, this can be changed if problematic.
3827
- To reset forms, copy and paste the variables, then delete what you pasted, and it will be cleared.
3928
- Calculated fields should ***NOT*** be calculated off of already calculated fields.
4029
Fields should only be calculated off of fields that are manually inputted.
41-
For more information on this, see creating [time calculations](adobe.html#timecalculations)
30+
For more information on this, see creating [time calculations](#sec-timecalculations)
4231

4332
# Converting Word Documents to PDFs
4433

@@ -82,7 +71,7 @@ These actions typically include:
8271
* Reseting a field(s)/form
8372
* Hiding/Revealing a field(s)
8473

85-
## Naming Convention for Variables in Adobe {#namingvariables}
74+
## Naming Convention for Variables in Adobe {#sec-namingvariables}
8675

8776
1. Variable names should be in all lowercase with no spaces and underscores separating words
8877
1. Keep variable names as consistent as possible across forms with similar variables
@@ -121,7 +110,7 @@ These actions typically include:
121110
- Total # of Scoreable Trials Played: `total_scored_task_trials`
122111
- *Note:* "task_trials" should be replaced with whether the round/block of trials is `imitation_trials`, `comp_check`, `practice_trials`, or `test_trials`.
123112

124-
### Naming Convention for Radio Buttons {#namingconventionradiobuttons}
113+
### Naming Convention for Radio Buttons {#sec-namingconventionradiobuttons}
125114

126115
1. In order to create calculated fields for trial totals, radio button "Choice Values" must be manually set.
127116
To facilitate the process, this should be done after aligning each group of radio buttons for each trial under each TC response for the trial.
@@ -143,7 +132,7 @@ The Choice Values can then be set through the following steps:
143132
- *Note:* While calculated fields can be derived from different radio button choice values, it is imperative to assign the button choices according to these values.
144133
This allows for consistency across pdfs and the ability to smoothly borrow code for calculated fields.
145134

146-
### Naming Convention for Check Boxes {#namingconventioncheckboxes}
135+
### Naming Convention for Check Boxes {#sec-namingconventioncheckboxes}
147136

148137
Check boxes can be named in such a way that they act similar to radio buttons, allowing only one selection out of a group of check boxes.=
149138
A group of check boxes can be formatted as radio buttons through the following steps:
@@ -162,11 +151,11 @@ A group of check boxes can be formatted as radio buttons through the following s
162151
1. While both groups of radio buttons and this form of groups of check boxes operate the same way and permit only one selection within the group, groups of check boxes provide an advantage by allowing for deselection of the value.
163152
Within groups of radio buttons, as soon as a button is selected, the group of buttons cannot be reset or deselected.
164153
This usage of groups of check buttons may be useful going forward and should be considered when creating new coding forms.
165-
- *Note:* Creating calculated fields from groups of check boxes will follow the same procedure as [creating calcuated fields from radio buttons](adobe.html#createcalculatedradiobuttons).
154+
- *Note:* Creating calculated fields from groups of check boxes will follow the same procedure as [creating calcuated fields from radio buttons](#sec-createcalculatedradiobuttons).
166155
Thus, it is important to ensure the export values for each check box follow the values listed in Step 3.
167156

168157

169-
## Hiding and Revealing Fields in Adobe {#hiddenfields}
158+
## Hiding and Revealing Fields in Adobe {#sec-hiddenfields}
170159

171160
Fields can be hidden and revealed within Adobe documents.
172161
To do such, complete the following steps:
@@ -210,16 +199,15 @@ To assign a radio button, check box, text field, or action button an action, com
210199
1. Multiple actions can be assigned to the same object.
211200
Thus, repeat steps 1-6 as many times as needed to assign the necessary actions to a given object
212201

213-
214202
# Creating Calculated Fields
215203

216204
Adobe Acrobat both includes its own functions for creating calculated fields and allows for the implementation of custom calculation scripts within forms.
217205
While the calculation features are built-in to Adobe, the custom calculation scripts must be written using the programming language JavaScript.
218206
The following sections detail how to create different types of calculated fields.
219207

220-
## Creating Calculated Fields from Radio Buttons {#createcalculatedradiobuttons}
208+
## Creating Calculated Fields from Radio Buttons {#sec-createcalculatedradiobuttons}
221209

222-
1. First, ensure the radio buttons and their choice values are appropriately set according to the [naming convention for radio buttons](adobe.html#namingconventionradiobuttons)
210+
1. First, ensure the radio buttons and their choice values are appropriately set according to the [naming convention for radio buttons](#sec-namingconventionradiobuttons)
223211
1. Select the text field which must be turned into a calculated field
224212
1. Right-click on the field and select "Properties"
225213
1. Select the "Calculate" tab within the Properties menu
@@ -260,7 +248,7 @@ The following sections detail how to create different types of calculated fields
260248
event.value = total + total2 + total3 + total4
261249
```
262250
- This script should be fit according to how many trials/variables must be calculated from
263-
- Proceed to [Breaking Down the Calculation Script](adobe.html#breakingdownscript) to gain a greater understanding of the script
251+
- Proceed to [Breaking Down the Calculation Script](#sec-breakingdownscript) to gain a greater understanding of the script
264252

265253
## Creating Calculated Fields from Radio Buttons: Video
266254

@@ -276,7 +264,7 @@ Watch the following video in order to observe an example of creating calculated
276264

277265
1. Prepare the check boxes for calculation:
278266

279-
1. Provide the check boxes from which the field will be calculated with appropriate variable names, closely following standard [naming convention for variables](adobe.html#namingvariables) when possible
267+
1. Provide the check boxes from which the field will be calculated with appropriate variable names, closely following standard [naming convention for variables](#sec-namingvariables) when possible
280268

281269
1. For each check box, an export value must be assigned.
282270
The export value will determine what numeric value the check box will carry throughout calculation.
@@ -293,7 +281,7 @@ Watch the following video in order to observe an example of creating calculated
293281
- *Note:* The appropriate `mathematical operator` should be selected according to the desired final calculation from the drop down list of "sum (+)," "product (x)," "average," "minimum," or "maximum"
294282
1. Select "Pick..." and then check the variable names of the check boxes to be calculated
295283

296-
## Breaking Down the Calculation Script {#breakingdownscript}
284+
## Breaking Down the Calculation Script {#sec-breakingdownscript}
297285

298286
```
299287
var v1 = getField("variable_group_name").value
@@ -343,7 +331,7 @@ The calculation script for radio buttons can be broken down into three parts:
343331
- The line `var v1 = getField("variable_group_name").value` defines the selected radio button in "variable_group_name" as `var v1` (variable 1) within this script and pulls the **choice value** from each group
344332
- Thus, within each `getField()`, the name of each group of radio buttons should be added in quotations
345333
- *Note:* The number being pulled through this function directly corresponds to the choice value defined for each radio button in the group of radio of radio buttons.
346-
This is why it is crucial to define choice values according to the same [naming convention for radio buttons](adobe.html#namingconventionradiobuttons)
334+
This is why it is crucial to define choice values according to the same [naming convention for radio buttons](#sec-namingconventionradiobuttons)
347335
- Each `var vX` should reflect a trial on the form.
348336
Thus, if there are 15 test trials, there should be 15 lines of code from `var v1` to `var v15` with the name for each group of radio buttons inputed in `getField("")` for each variable
349337

@@ -392,7 +380,7 @@ The calculation script for radio buttons can be broken down into three parts:
392380
}
393381
```
394382
395-
- Because a total correct field is being calculated, the choice value of 2 should be inputed as this is the choice value which corresponds to "Correct" (see [naming convention for radio buttons](adobe.html#namingconventionradiobuttons))
383+
- Because a total correct field is being calculated, the choice value of 2 should be inputed as this is the choice value which corresponds to "Correct" (see [naming convention for radio buttons](#sec-namingconventionradiobuttons))
396384
- The value of 2 would be inputed for each if/else statement for each variable.
397385
Thus, if there were 15 variables, there should be 15 if/else statements `v1 == 2` to `v15 == 2`
398386
- The if/else statement for each variable defines that if the value pulled by the `getField()` function matches the inputted choice value for the variable then the total for that variable becomes equal to 1.
@@ -812,9 +800,9 @@ event.value=total+total2+total3+total4+total5+total6+total7+total8+total9+total1
812800
813801
## Breaking Down the Conditional Formatting Calculation Script
814802
815-
Notice the [traditional calculation script](adobe.html#breakingdownscript) is present within this script.
803+
Notice the [traditional calculation script](#sec-breakingdownscript) is present within this script.
816804
However, additional if/else commands are implemented in order to account for the dependence on another variable.
817-
Before proceeding with this section, an understanding of the [traditional calculation script](adobe.html#breakingdownscript) should be obtained.
805+
Before proceeding with this section, an understanding of the [traditional calculation script](#sec-breakingdownscript) should be obtained.
818806
In the following section, Variable X refers to the variable which is contingent on the value of another variable, Variable Y.
819807
Thus, the conditional formatting is described in such a way that the value of a Variable X is dependent on the value of Variable Y.
820808
<br>
@@ -881,7 +869,7 @@ The conditional formatting calculation script features two major alterations:
881869
```
882870
883871
- This alteration to the script utilizes if/else commands to establish contingency on Variable Y
884-
- As outlined in the [Breaking Down the Calculation Script](adobe.html#breakingdownscript) section, the if/else statements operate in the same manner and follow the same procedures.
872+
- As outlined in the [Breaking Down the Calculation Script](#sec-breakingdownscript) section, the if/else statements operate in the same manner and follow the same procedures.
885873
However, notice an additional if/else statement is present for each trial and surrounds the original if/else statement:
886874
887875
```
@@ -1215,7 +1203,7 @@ if(v32 == 2){
12151203
event.value=total+total2+total3+total4+total5+total6+total7+total8+total9+total10+total11+total12+total13+total14+total15+total16
12161204
```
12171205
1218-
## Time Calculations in Adobe {#timecalculations}
1206+
## Time Calculations in Adobe {#sec-timecalculations}
12191207
12201208
Calculating a time based on two other times can be accomplished within Adobe.
12211209
To do this, custom calculation scripts using the language JavaScript must be implemented.
@@ -1412,7 +1400,7 @@ The following solution is implemented to work around this:
14121400
* When the initial time is inputted, each of these intervals calculate automatically
14131401
1. A second set of text fields are made for each of these 18 intervals
14141402
* These fields have no calculations applied to them
1415-
* These 18 fields are set to be [hidden](adobe.html#hiddenfields) from user view
1403+
* These 18 fields are set to be [hidden](#sec-hiddenfields) from user view
14161404
* These 18 fields serve to allow for manually entry of a time in case of an interruption
14171405
* The 18 fields are positioned over the initial 18 fields which do the contain the calculations
14181406
1. A set of 18 buttons are created, one for each interval

documentation-remote.qmd

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,37 @@
22
title: "Remote Participation"
33
---
44

5-
```{r setup, include = FALSE}
6-
knitr::opts_chunk$set(
7-
echo = TRUE,
8-
error = TRUE,
9-
comment = "")
10-
```
11-
125
The following sections provide instructions for how to participate in the lab remotely.
13-
As described in the [lab manual](manual.html#remote), RAs should never access lab data remotely without permission or direction from the Lab Coordinator, a graduate student, or the PI.
6+
As described in the [lab manual](lab-manual.qmd#sec-remote), RAs should never access lab data remotely without permission or direction from the Lab Coordinator, a graduate student, or the PI.
147
These instructions applied mainly during the earlier parts of the COVID-19 pandemic.
158
We are now working fully in-person.
16-
Nevertheless, students who are conducting [Honors Projects](honors.html) may need to access their projects during off-hours.
9+
Nevertheless, students who are conducting [Honors Projects](honors.qmd) may need to access their projects during off-hours.
1710

1811
**How To…**
1912

2013
# Join the Weekly Lab Meeting
2114

2215
- Open the lab calendar in Outlook (see the lab manual for how to do this)
2316
- Click on the link in the lab meeting event on the calendar
24-
1. Alternatively, go to: https://uiowa.zoom.us/join
17+
1. Alternatively, go to: <https://uiowa.zoom.us/join>
2518
1. Enter the meeting ID (as shown in the calendar)
2619
- You should be muted by default when you first enter the meeting
27-
- If you are unable to "attend" this week's lab meeting due to a scheduling conflict or limited access to the internet, please reach out to the Lab Coordinator at the devpsy-lab@uiowa.edu email.
20+
- If you are unable to "attend" this week's lab meeting due to a scheduling conflict or limited access to the internet, please reach out to the Lab Coordinator at the [devpsy-lab@uiowa.edu](mailto:devpsy-lab@uiowa.edu) email.
2821

29-
# VPN Access to the Lab Drive {#vpn}
22+
# VPN Access to the Lab Drive {#sec-vpn}
3023

3124
To access the lab drive, you must connect to the university's VPN using Cisco AnyConnect.
3225
Visit this website to learn how to set up VPN access to the lab drive:
33-
https://its.uiowa.edu/support/article/1876 (archived at https://perma.cc/ST6R-PCJU)
26+
<https://its.uiowa.edu/support/article/1876> (archived at <https://perma.cc/ST6R-PCJU>)
3427

3528
The full drive path to our lab drive is:
3629

3730
- PC: `\\lc-rs-store24.hpc.uiowa.edu\lss_itpetersen\Lab\`
3831
- Mac: `smb://lc-rs-store24.hpc.uiowa.edu/lss_itpetersen/Lab/`
3932

40-
# Map the Lab Drive Onto a Mac Computer {#mapLabDrive}
33+
# Map the Lab Drive Onto a Mac Computer {#sec-mapLabDrive}
4134

42-
1. [VPN](#vpn) into the university network
35+
1. [VPN](#sec-vpn) into the university network
4336
1. In the upper task bar, click "Go"
4437
1. Select "Connect to Server" from the drop-down menu
4538
1. In the "Server Address" bar, type: `smb://lc-rs-store24.hpc.uiowa.edu/lss_itpetersen/Lab/`
@@ -53,18 +46,18 @@ The full drive path to our lab drive is:
5346
In the future, you can reconnect to the shared volume by double-clicking this alias.
5447
1. Then, you should be able to access the scripts on the lab share with `R` at the following location: `/Shared/lss_itpetersen`
5548

56-
# Remote Access to a Lab Computer {#remoteAccess}
49+
# Remote Access to a Lab Computer {#sec-remoteAccess}
5750

5851
A possibility may be to "remote in" to a lab computer.
5952
This allows you to use a lab computer from anywhere, so you can access all of the programs on our lab computers without having to install them on your personal machine.
6053
Remoting in to a lab computer might also be easier for accessing large lab files (e.g., videos for coding).
6154
However, you should only remote in to a lab computer if nobody in the lab is using the computer and nobody in the lab will need to use the computer.
6255
You can remote in to a lab computer using a program called "Remote Desktop."
63-
Visit this website to learn how to set up Remote Desktop access on your computer: https://its.uiowa.edu/remotedesktop
56+
Visit this website to learn how to set up Remote Desktop access on your computer: <https://its.uiowa.edu/remotedesktop>
6457

6558
To gain remote access to a lab computer:
6659

67-
1. [VPN](#vpn) into the lab drive
60+
1. [VPN](#sec-vpn) into the lab drive
6861
1. When prompted for the computer's name in the Remote Desktop client, follow this format:
6962
- `PSYC-S###.iowa.uiowa.edu`
7063
- Then, enter your username using this format: `iowa\HawkID`
@@ -76,13 +69,13 @@ To gain remote access to a lab computer:
7669
Task Timing Sheet: can be accessed through your student Office 365 OneDrive—the Lab Coordinator will share a link so everyone has access
7770

7871
Visit Videos: can be accessed on the lab drive using VPN and should be watched using VLC media player.
79-
You can download VLC for free here: https://www.videolan.org/vlc/index.html
72+
You can download VLC for free here: <https://www.videolan.org/vlc/index.html>
8073

8174
Coding Forms: editable PDFs have been created for easier electronic completion—you can find your tasks' PDF coding forms on the lab drive here:
8275
`\\lc-rs-store24.hpc.uiowa.edu\lss_itpetersen\Lab\Studies\School Readiness Study\Data\Coding\Remote Coding\Coding Forms\`
8376

8477
Coding forms should always be opened and edited using Adobe Acrobat.
85-
Adobe Acrobat Reader is available to download for free from the Adobe website: https://get.adobe.com/reader/
78+
Adobe Acrobat Reader is available to download for free from the Adobe website: <https://get.adobe.com/reader/>
8679

8780
Coding Folders: have been re-created as folders on the lab drive, which can be found here:
8881
`\\lc-rs-store24.hpc.uiowa.edu\lss_itpetersen\Lab\Studies\School Readiness Study\Data\Coding\Remote Coding\Coder Folders\`

0 commit comments

Comments
 (0)