Skip to content

Commit

Permalink
minor website changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Patricia Zauchner committed Sep 22, 2024
1 parent a79a989 commit f57b340
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 21 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ efficiently managing data obtained from running
<a href="https://www.otree.org/" target="_blank">oTree</a> experiments.
It’s particularly valuable when dealing with complex experimental
designs that span multiple sessions and generate a large number of files
that need to be integrated.
that need to be integrated.[^1]

gmoTree is not an official package of the oTree team, but it was created
to complement the open-source platform.
[^1]: gmoTree is not an official package of the oTree team but is built to complement the oTree open-source platform.

# Installation

Expand Down
3 changes: 2 additions & 1 deletion docs/articles/codebook.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 6 additions & 8 deletions docs/articles/intro_to_gmoTree.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pkgdown_sha: ~
articles:
codebook: codebook.html
intro_to_gmoTree: intro_to_gmoTree.html
last_built: 2024-09-21T18:27Z
last_built: 2024-09-22T20:44Z
urls:
reference: https://zauchnerp.github.io/gmoTree/reference
article: https://zauchnerp.github.io/gmoTree/articles
2 changes: 1 addition & 1 deletion docs/search.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion vignettes/codebook.Rmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "gmoTree Codebooks"
author: "Patricia F. Zauchner"
date: "2023-09-21"
date: "2023-09-21 (updated: 2024-09-22)"
output:
rmarkdown::html_vignette:
toc: yes
Expand Down
11 changes: 7 additions & 4 deletions vignettes/intro_to_gmoTree.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ vignette: >
library(gmoTree)
```

Handling data from online experiments made with <a href="https://www.otree.org/" target="_blank">oTree</a> can be challenging, especially when dealing with complex experimental designs that span multiple sessions and return numerous files that must be combined. This is where the gmoTree package comes in. gmoTree is not an official package of the oTree team but is built to complement the oTree open-source platform. It helps streamline the data processing workflow by providing tools designed to import, merge, and manage data from oTree experiments.
Handling data from online experiments made with <a href="https://www.otree.org/" target="_blank">oTree</a> can be challenging, especially when dealing with complex experimental designs that span multiple sessions and return numerous files that must be combined. This is where the gmoTree package comes in. It helps streamline the data processing workflow by providing tools designed to import, merge, and manage data from oTree experiments.

# Importing and cleaning up data

## Background information on the data downloaded by oTree

An oTree experiment is structured around one or more
modular units called 'apps,' which encompass one or multiple 'pages.'
modular units called "apps," which encompass one or multiple "pages."
Data generated from each app can be downloaded individually,
offering the flexibility to analyze separate components of the experiment.
For an all-encompassing view of the experiment, the data from all apps
can also be downloaded in a comprehensive file labeled 'all_apps_wide.'
can also be downloaded in a comprehensive file labeled "all_apps_wide."

In addition to the aforementioned app data and the cumulative all_apps_wide
file, oTree generates a file with time stamps for every page. A file
Expand Down Expand Up @@ -365,7 +365,7 @@ otree2$all_apps_wide$session_id

## apptime()

If we need to determine how much time the participants spent on a specific app, the `apptime()` function is a powerful tool that can help. This function calculates summary statistics such as the mean, minimum, and maximum time spent on each page, as well as a detailed list of durations for each participant in the app. The following example shows how much time the participants spent on the app 'survey' in minutes.
If we need to determine how much time the participants spent on a specific app, the `apptime()` function is a powerful tool that can help. This function calculates summary statistics such as the mean, minimum, and maximum time spent on each page, as well as a detailed list of durations for each participant in the app. The following example shows how much time the participants spent on the app "survey" in minutes.

```{r apptime, collapse=TRUE}
# Calculate the time all participants spent on app "survey"
Expand Down Expand Up @@ -470,3 +470,6 @@ show_constant(oTree = otree2)
# Literature

Chen, D. L., Schonger, M., & Wickens, C. (2016). oTree—An open-source platform for laboratory, online, and field experiments. Journal of Behavioral and Experimental Finance, 9, 88–97. https://doi.org/10.1016/j.jbef.2015.12.001



0 comments on commit f57b340

Please sign in to comment.