activAnalyzer
activAnalyzer: An R Shiny app to analyse ActiGraph accelerometer data and to implement the use of the PROactive Physical Activity in COPD instruments - Published in JOSS (2022)
Science Score: 93.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 2 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org -
○Committers with academic emails
-
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Keywords
accelerometer
actigraph
app
monitor
r
shiny
Scientific Fields
Engineering
Computer Science -
40% confidence
Last synced: 4 months ago
·
JSON representation
Repository
Basic Info
- Host: GitHub
- Owner: pydemull
- License: gpl-3.0
- Language: R
- Default Branch: master
- Homepage: https://pydemull.github.io/activAnalyzer
- Size: 73.5 MB
Statistics
- Stars: 4
- Watchers: 0
- Forks: 1
- Open Issues: 2
- Releases: 13
Topics
accelerometer
actigraph
app
monitor
r
shiny
Created over 4 years ago
· Last pushed 10 months ago
Metadata Files
Readme
Changelog
License
Code of conduct
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-",
out.width = "100%"
)
```
# activAnalyzer
[](https://CRAN.R-project.org/package=activAnalyzer)
[](https://app.codecov.io/gh/pydemull/activAnalyzer?branch=master)
[](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[](https://github.com/pydemull/activAnalyzer/actions/workflows/R-CMD-check.yaml)
[](https://cran.r-project.org/package=activAnalyzer)
[](https://joss.theoj.org/papers/10.21105/joss.04741)
activAnalyzer is a Shiny app that has been developed to analyze daily physical behavior data recorded at the hip in adults using an ActiGraph accelerometer (.agd file from a **GT3X**, **GT3X+**, **wGT3X+** or **wGT3X-BT** device). Once analysis is completed, the app allows exporting results to .csv files and generating a report of the measurement (in either an .html format or a .pdf format). All the configured inputs relevant for interpreting the results are recorded in the report. Be sure that the inputs that are configured when generating the report correspond to the analysis that was actually performed (in other words, avoid modifying the inputs after generating satisfactory results). In addition to an analysis of physical behavior, the app also allows to implement the [Daily- and Clinical visit-PROactive Physical Activity in COPD (chronic obstructive pulmonary disease) instruments (D-PPAC and C-PPAC)](https://erj.ersjournals.com/content/early/2015/05/28/09031936.00183014). Please read the [user's guide](https://github.com/pydemull/activAnalyzer/blob/master/inst/guide/user_guide_en.pdf) for details about how the app works.
## Usage
There are three different ways to use the activAnalyzer app:
* [On the web via a shinyapps.io platform](https://pydemull.shinyapps.io/activAnalyzer/) (stable version). For information, as indicated by [RStudio](https://www.shinyapps.io/), "*shinyapps.io is secure-by-design. Each Shiny application runs in its own protected environment and access is always SSL encrypted*". Importantly, the app is hosted using a free account that allows to run apps for 25 hours per month. Thus, the availability of the app on the web is very dependent on the number of users as well as the time spent by each user on the app. Moreover, as computations when using the app can be quite intensive, it is possible that speed and stability of this online version of the app become sometimes compromised. For these reasons, this option should be considered as a way to have a quick look at how the app works. The other available options (please see below) will be more appropriate for working with the app on a regular basis. Of note, Google Chrome and Microsoft Edge browsers allow the app to work as expected but Mozilla Firefox does not seem to allow resetting all the inputs when required.
* [On your machine via a standalone desktop app](https://sourceforge.net/projects/activanalyzer) that is downloadable from the SourceForge website (stable version, for Windows machines only). The standalone app has been developed using the framework *DesktopDeployR* made available by [W. Lee Pang](https://github.com/wleepang). Explanations related to this framework can be retrieved from [a dedicated GitHub repository](https://github.com/wleepang/DesktopDeployR). Once the app is installed on your PC, you will have to double-click on the desktop app icon (if you chose this option during the installation process), which will run the R-portable version embedded in the app and then will launch the app in your default web browser with 127.0.0.1 as the value for the host parameter. This means that only your current machine will can access the app. You will can open only one session at a time. As written above, Google Chrome and Microsoft Edge browsers allow the app to work as expected but Mozilla Firefox does not seem to allow resetting all the inputs when required. Due to the extra work required to maintain such a format of the app up to date, it is not planned for the moment to provide updates for version 2.0.2 and newer versions.
* On your machine via [R software](https://CRAN.R-project.org/) (version: $\ge$ 3.4.0), the [RStudio environment](https://posit.co/), and the [activAnalyzer package](https://github.com/pydemull/activAnalyzer) installable from CRAN (stable version) or from GitHub (development version). With version 2.0.1 and former versions, the app is launched in the RStudio window by default. For these versions, unfortunately only the RStudio version called Prairie Trillium [2022.02] and former versions allow to correctly quit the app from the RStudio window. Since version 2.0.2, the app is launched in the default web browser by default and could be used with the latest RStudio version (hopefully) without problems. Whatever the version used, to be able to generate a .pdf report, you will have to install the [TinyTeX distribution](https://yihui.org/tinytex/). The first time you will generate a .pdf report, you will have to wait some time so that the required packages are installed on your machine. In short, after installing R and RStudio, you can run the following command lines in the RStudio console:
``` {r, eval=FALSE}
# For CRAN version:
## Code for installing the activAnalyzer package (stable version)
install.packages("activAnalyzer")
## Code for installing the TinyTex distribution
install.packages("tinytex")
tinytex::install_tinytex()
```
```{r, eval=FALSE}
# For development version:
## Code for installing the activAnalyzer package (development version)
install.packages("devtools")
devtools::install_github("pydemull/activAnalyzer")
## Code for installing the TinyTex distribution
install.packages("tinytex")
tinytex::install_tinytex()
```
## Example
To launch the app using R:
```{r install, eval=FALSE}
library(activAnalyzer)
activAnalyzer::run_app()
```
```{r, include=FALSE, eval=FALSE}
You'll still need to render `README.Rmd` regularly, to keep `README.md` up-to-date:
devtools::build_readme()
You could also use GitHub Actions to re-render `README.Rmd` every time you push. An example workflow can be found here: .
```
## Code of Conduct
Please note that the activAnalyzer project is released with a [Contributor Code of Conduct](https://pydemull.github.io/activAnalyzer/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.
Owner
- Name: Pierre-Yves de Müllenheim
- Login: pydemull
- Kind: user
- Location: Angers, France
- Company: IFEPSA-UCO
- Website: https://pydemull.github.io/website-quarto/
- Twitter: pydemullenheim
- Repositories: 4
- Profile: https://github.com/pydemull
JOSS Publication
activAnalyzer: An R Shiny app to analyse ActiGraph accelerometer data and to implement the use of the PROactive Physical Activity in COPD instruments
Published
December 01, 2022
Volume 7, Issue 80, Page 4741
Authors
Tags
physical activity sedentary behaviour accelerometer actigraph COPD PROactive instruments ShinyGitHub Events
Total
- Push event: 20
- Pull request event: 8
Last Year
- Push event: 20
- Pull request event: 8
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Pierre-Yves de Müllenheim | p****m@h****r | 604 |
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 7
- Total pull requests: 50
- Average time to close issues: 15 days
- Average time to close pull requests: about 5 hours
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 0.29
- Average comments per pull request: 0.0
- Merged pull requests: 48
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 5
- Average time to close issues: 19 days
- Average time to close pull requests: about 3 hours
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 5
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- pydemull (5)
- angerhang (2)
Pull Request Authors
- pydemull (60)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 308 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 9
- Total maintainers: 1
cran.r-project.org: activAnalyzer
A 'Shiny' App to Analyze Accelerometer-Measured Daily Physical Behavior Data
- Homepage: https://pydemull.github.io/activAnalyzer/
- Documentation: http://cran.r-project.org/web/packages/activAnalyzer/activAnalyzer.pdf
- License: GPL (≥ 3)
-
Latest release: 2.1.2
published over 1 year ago
Rankings
Forks count: 21.9%
Stargazers count: 28.5%
Average: 29.6%
Dependent packages count: 29.8%
Downloads: 32.1%
Dependent repos count: 35.5%
Maintainers (1)
Last synced:
4 months ago
Dependencies
DESCRIPTION
cran
- R >= 3.4.0 depends
- PhysicalActivity * imports
- RSQLite * imports
- dbplyr >= 2.1.1 imports
- dplyr >= 1.0.7 imports
- flextable >= 0.6.10 imports
- forcats >= 0.5.1 imports
- ggplot2 >= 3.3.5 imports
- golem >= 0.3.1 imports
- hms >= 1.1.1 imports
- lubridate >= 1.8.0 imports
- magrittr * imports
- modelr >= 0.1.8 imports
- patchwork >= 1.1.1 imports
- reactable >= 0.2.3 imports
- rmarkdown >= 2.11 imports
- shiny >= 1.6.0 imports
- shinyFeedback >= 0.4.0 imports
- shinycssloaders >= 1.0.0 imports
- shinydashboard >= 0.7.2 imports
- shinydashboardPlus >= 2.0.3 imports
- shinyjs >= 2.0.0 imports
- stringr >= 1.4.0 imports
- tidyr >= 1.1.4 imports
- zoo * imports
- DBI * suggests
- assertthat * suggests
- config * suggests
- covr * suggests
- globals * suggests
- htmltools * suggests
- knitr * suggests
- officer * suggests
- pkgload * suggests
- processx * suggests
- rlang * suggests
- scales * suggests
- shinytest * suggests
- spelling * suggests
- testthat >= 3.0.0 suggests
- tibble * suggests
- tidyselect * suggests
- tinytex * suggests
.github/workflows/R-CMD-check.yaml
actions
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml
actions
- actions/cache v2 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
.github/workflows/test-coverage.yaml
actions
- actions/cache v2 composite
- actions/checkout v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
