Package: gbhs 0.0.1.9000
gbhs: Lifebrain Global Brain Health Survey Data
Between June 2019 and August 2020, Lifebrain conducted the Global Brain Health Survey to collect data on people’s perceptions of brain health and willingness to take care of their brain by adopting new lifestyles. The survey was conducted online and translated into 14 languages to reach as many people as possible. In total, it collected 27,590 responses from people in 81 countries. This package contains code and data from this survey.
Authors:
gbhs_0.0.1.9000.tar.gz
gbhs_0.0.1.9000.zip(r-4.5)gbhs_0.0.1.9000.zip(r-4.4)gbhs_0.0.1.9000.zip(r-4.3)
gbhs_0.0.1.9000.tgz(r-4.4-any)gbhs_0.0.1.9000.tgz(r-4.3-any)
gbhs_0.0.1.9000.tar.gz(r-4.5-noble)gbhs_0.0.1.9000.tar.gz(r-4.4-noble)
gbhs_0.0.1.9000.tgz(r-4.4-emscripten)gbhs_0.0.1.9000.tgz(r-4.3-emscripten)
gbhs.pdf |gbhs.html✨
gbhs/json (API)
# Install 'gbhs' in R: |
install.packages('gbhs', repos = c('https://lifebrain.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/lifebrain/gbhs/issues
- gbhs - Lifebrain Global Brain Health Survey
Last updated 2 years agofrom:abf44acba1. Checks:OK: 1 ERROR: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 20 2024 |
R-4.5-win | ERROR | Nov 20 2024 |
R-4.5-linux | ERROR | Nov 20 2024 |
R-4.4-win | ERROR | Nov 20 2024 |
R-4.4-mac | ERROR | Nov 20 2024 |
R-4.3-win | ERROR | Nov 20 2024 |
R-4.3-mac | ERROR | Nov 20 2024 |
Exports:gbhs_long_qgbhs_path_childgbhs_path_datagbhs_path_metagbhs_path_rmdgbhs_path_utilitiesgbhs_render_reportggbarggmodelggstackedggstacked_wraplogit2probna_col_rmpcpercentprep_model_outputsurveysthousand
Dependencies:backportsbase64encbroombslibcachemclicolorspacecpp11digestdplyrevaluatefansifarverfastmapfontawesomefsgenericsggplot2gluegridExtragtablehighrhtmltoolsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmepatchworkpillarpkgconfigpurrrR6rappdirsRColorBrewerrlangrmarkdownsassscalesstringistringrtibbletidyrtidyselecttinytexutf8vctrsviridisviridisLitewithrxfunyaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Lifebrain Global Brain Health Survey | gbhs |
Make GBHS question into long format data | gbhs_long_q |
Get path of child document | gbhs_path_child |
Get file path to raw data | gbhs_path_data |
Get path to meta-data and codebooks | gbhs_path_meta |
Get file path to template files | gbhs_path_rmd |
Get path of utility functions | gbhs_path_utilities |
Render GBHS reports | gbhs_render_report |
Barchart for GBHS data | ggbar |
Plot a model output from GBHS | ggmodel |
Create a stacked bar chart | ggstacked |
Wrap a ggstacked plot | ggstacked_wrap |
Transform logit to probability | logit2prob |
Remove columns with only NA | na_col_rm |
Calculate percent | pc |
Pretty percent displaying | percent |
Prepare model output for plots | prep_model_output |
Survey tibble | surveys |
Format thousands | thousand |