## Technologies and Tools - Programming Languages: R - Frameworks/Libraries: tidyverse, httr, feather, googlesheets4, igraph, writexl, readr, pagedown - Tools: RStudio, GitHub Actions (for CI/CD) ## Functionality - The AnalyticSystem is an R package that automates the generation of analytic datasets from raw REDCap data. - It provides a standardized, data-matrix-driven workflow for creating consistent analytic variables (called constructs) across studies. - Key features include automated REDCap data import, testing of construct functions, dataset anonymization, generation of data dictionaries and long format data, and utilities for data and function exploration. - The package integrates with Google Sheets for storing study and construct metadata. ## Relevant Skills - Advanced R programming skills, including package development, function creation, and data manipulation using tidyverse. - Knowledge of REDCap and experience working with REDCap data. - Integration with external services like Google Sheets using APIs (googlesheets4). - Implementation of data anonymization techniques to protect sensitive information. - Creation of comprehensive data dictionaries and long format datasets. - Development of utilities for data and function exploration. - Usage of GitHub Actions for Continuous Integration and Continuous Deployment (CI/CD). ## Example Code - Package Development: ```r # DESCRIPTION file Package: AnalyticSystem Type: Package Title: METRC Redcap Analytic Codebase System Version: 0.3.1 ``` - Data Manipulation with tidyverse: ```r analytic_data <- build_analytic_dataset(names=display_order, error_path = error_path) ``` - Integration with Google Sheets: ```r fdf <- googlesheets4::read_sheet(pkg.globals$function_sheet_id, col_types = "c") set_function_sheet(fdf, study) ``` - Data Anonymization: ```r anonymize_redcap_data() ``` - GitHub Actions CI/CD: ```yaml # .github/workflows/check-r-package.yml on: pull_request: types: - opened jobs: R-CMD-check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: r-lib/actions/setup-r@v2 - uses: r-lib/actions/setup-r-dependencies@v2 with: extra-packages: any::rcmdcheck needs: check - uses: r-lib/actions/check-r-package@v2 ``` ## Notable Achievements - Development of a comprehensive R package for automating analytic dataset generation from REDCap data. - Creation of a data-matrix-driven workflow for standardizing analytic variables across studies. - Integration with Google Sheets for centralized storage and management of study and construct metadata. - Implementation of data anonymization techniques to protect sensitive information. - Generation of detailed data dictionaries and long format datasets for enhanced data understanding and usability. The AnalyticSystem package demonstrates strong R programming skills, experience working with REDCap data, integration with external services, and the development of a comprehensive toolkit for automating analytic dataset generation. The implementation of data anonymization, generation of data dictionaries, and usage of GitHub Actions for CI/CD further showcase the developer's skills and commitment to best practices in software development.


© 2024 Elias Weston-Farber. All rights reserved.