[{"path":"/articles/Simple REDCap workflow.html","id":"working-with-data-from-redcap","dir":"Articles","previous_headings":"","what":"Working with data from REDCap","title":"Simple REDCap workflow","text":"REDCap excellent tool clinical data acquisition storage. widely used world wide standard tool medical research data Denmark. case analysing data directly whole storing data REDCap, API functionality convenient secure, storing (possibly) sensitive data permanently computer. using “events” “repeated instruments” functionality REDCap, data storage format little confusing work , accustomed tidy data. library(REDCapR) provides simple way working data, however, package just exports data standard format.","code":""},{"path":"/articles/Simple REDCap workflow.html","id":"examples","dir":"Articles","previous_headings":"Working with data from REDCap","what":"Examples","title":"Simple REDCap workflow","text":"","code":"library(REDCapR) # Returns the variables \"record_id\" and \"age\". ds_some_vars <- redcap_read( redcap_uri = \"https://redcap.au.dk/api/\", # This is the address for projects at the AU-server token = \"YOUR_API_KEY_GOES_HERE\", fields = c(\"record_id\", \"age\") )$data # Return only records with IDs of 1 and 4 ds_some_rows <- redcap_read( redcap_uri = \"https://redcap.au.dk/api/\", # This is the address for projects at the AU-server token = \"YOUR_API_KEY_GOES_HERE\", records = c(1, 4) )$data"},{"path":"/articles/Toolbox.html","id":"a-toolbox","dir":"Articles","previous_headings":"","what":"A toolbox","title":"Toolbox","text":"toolbox small workshop mix old, worn, well proven tools newcomers. package seen something like . tried collect tools functions packages use regularly addition functions written fill use cases, able find solutions elsewhere.","code":""},{"path":"/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Andreas Gammelgaard Damsbo. Author, maintainer.","code":""},{"path":"/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Damsbo (2023). stRoke: Clinical stroke research toolbox. https://agdamsbo.github.io/stRoke/, https://github.com/agdamsbo/stRoke, https://agdamsbo.github.io/neuRo-group/.","code":"@Manual{, title = {stRoke: Clinical stroke research toolbox}, author = {Andreas Gammelgaard Damsbo}, year = {2023}, note = {https://agdamsbo.github.io/stRoke/, https://github.com/agdamsbo/stRoke, https://agdamsbo.github.io/neuRo-group/}, }"},{"path":"/index.html","id":"stroke-package-","dir":"","previous_headings":"","what":"Clinical stroke research toolbox","title":"Clinical stroke research toolbox","text":"R-toolbox custom functions convenient data management analysis clinical health research teaching. package mainly collected personal use, use beyond encouraged. package migrated functions agdamsbo/daDoctoR-package, new functions added.","code":""},{"path":"/index.html","id":"a-few-notes","dir":"","previous_headings":"","what":"A few notes","title":"Clinical stroke research toolbox","text":"function generic_stroke()can used data(talos) custom data set illustrate classic analysis mRS outcome stroke trials. documenting testing package, used OpenAI’s chatgpt gpttools. chatgpt interesting tool, way perfect, helps tedious tasks. gpttools gptstudio interesting implementations R RStudio.","code":""},{"path":"/index.html","id":"source","dir":"","previous_headings":"","what":"Source","title":"Clinical stroke research toolbox","text":"package shared GitHub, welcome contribute opening issue pull request.","code":""},{"path":"/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Clinical stroke research toolbox","text":"package can installed GitHub:","code":"remotes::install_github(\"agdamsbo/stRoke\")"},{"path":"/reference/age_calc.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculate age in years, months, or days — age_calc","title":"Calculateageinyears,mont