Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scoping the R package #86

Open
bleonar5 opened this issue Feb 7, 2025 · 0 comments
Open

Scoping the R package #86

bleonar5 opened this issue Feb 7, 2025 · 0 comments
Assignees
Labels
Scoping Discussion regarding the scope, design, and features of the psych-DS validator

Comments

@bleonar5
Copy link
Contributor

bleonar5 commented Feb 7, 2025

Psych-DS R Package MVP Scope

Overview

Our next goal is to create an R package offering both programmatic API and GUI interfaces. This document outlines the MVP scope and implementation plan.

Core Workflows & Features

1. Dataset Conversion & Metadata Generation

  • Auto-conversion Pipeline

    • Input: Raw psychological CSV data files (as well as other auxilliary files)
    • Output: Skeletal Psych-DS compliant dataset
    • Automatic metadata generation
    • Stretch goal: rules for how to map arbitrary CSV
  • Data Dictionary Wizard

    • Interactive variable documentation
    • Automated type inference
    • Standardized terminology mapping
    • Export to machine-readable formats (JSON-LD PropertyValue objects)

2. Data Management Features

  • Dataset Validation

    • Schema compliance checking
    • Troubleshooting feedback on errors
  • OSF Uploading

    • Use OSF API to upload complete and validated datasets to public repo
    • Gate the upload function so that only validated and unchanged datasets can go through

3. GUI Dashboard

  • Conversion Interface

    • Drag-and-drop file import
    • Boxes for various auxilliary folders
  • Dataset Explorer

    • Visual dataset preview
    • Search filter options for keyword and columns
  • Data dictionary wizard

    • Consolidate and simplify functionality from doomlab ddcreator to fit on one page
  • Validation Interface

    • Replicate original validation interface faithfully
  • Upload Interface

    • Features for logging in and creating OSF account (hopefully exists already)
    • Upload and reupload (possibly download?) OSF repositories

Implementation Strategy

Phase 1: Core API

  1. Basic validation functions
  2. OSF upload wrappers
  3. Any necessary backend functions for GUI

Phase 2: GUI Development

  1. Shiny-based dashboard
  2. Interactive wizards for generating metadata and file systems
  3. Validation view
  4. OSF Export utilities

Integration Considerations

OSF Integration

  • File import/export
  • Version control support (optional)

CRAN Requirements

  • Documentation coverage
  • Test suite
  • Platform compatibility
  • Size constraints
  • License compliance

Mockup Pages for GUI

Image Image Image Image Image Image
@bleonar5 bleonar5 added the Scoping Discussion regarding the scope, design, and features of the psych-DS validator label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scoping Discussion regarding the scope, design, and features of the psych-DS validator
Projects
None yet
Development

No branches or pull requests

2 participants