Git Product home page Git Product logo

medpc_preprocessing's Introduction

medpc_preprocessing

A collection of python scripts for vizualizing, cleaning, and organizing raw data files from Med Associates (MED-PC)

#------Suggested workflow ---- # Always back OG raw data up and work only on copies. 2022-01-19, Haven't integrated these fully but some ideas:

-Raw .TXT file data tools

  1. _find_and_split_duplicates.py - To automatically ID and split combined files with multiple subjects into separate files. Also automatically IDs and quarantines files with missing/blank subjects
  2. _medpc_flag_files_manual.py - If you're aware of specific conditions of files you want to flag and quarantine for manual review (e.g. specific box/subject/MSN)
  3. medpc_sort_by_MSN.py - Sort raw data files into subfolders based on MSN. Useful for grouping files with similar data organization prior to extraction into excel

-Extracted excel sheet data tools

  1. _medpc_clean_subjects.py- To standardize subject IDs, removes variation in capitalization/spaces
  2. _excel_file_overview.py- To vizualize, gives broad overview of your data's timeline

#------ Folder setup / pathing ----- # As of 2022-12-9, pathing for _find_and_split_duplicates.py is relative so want to download this repository and within add subfolders to ultimately look like:

  • medpc_preprocessing-main

    --- _find_and_split_duplicates

    --- _input
    
    --- _output
    
          --- _split_files
          
          --- _flagged_file_quarantine
    

medpc_preprocessing's People

Contributors

dakota-palmer avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.