Code used in research, published by the Depression Center, our partners, and members of MeTRIC.
See our GitHub Repos at: https://github.com/DepressionCenter

Categories (3)

TrackMaster Documentation

Documentation for the TrackMaster membership tracking tool and related reports/dashboards.

MiNap Documentation

Documentation for the MiNap sleep diary smartwatch application.
Overview: https://michmed.org/DyzwV
Code: https://github.com/DepressionCenter/MiNap

TDX Customization

How-to articles and code documentation for customization of TeamDynamix client portals, knowledge base articles, and more.
See our code and ready-to-use templates at: https://github.com/DepressionCenter/EFDC-TDX-KB

Articles (10)

Essential Guide to Sharing Code in Biomedical Research

This article explores the importance of sharing code, addresses common reservations among researchers, and provides practical advice on how to share effectively. By increasing transparency and releasing code as open source, researchers not only meet the requirements of funding agencies and publications but also stimulate institutional, national, and global research progress.

Flatten It

Flatten It uses iteration (no recursion) to flatten iterables into a dictionary where each key is a reference path and each value is the value at the respective path.  This simple flattening algorithm has been used for diffing deeply nested JSON structures and for transforming hierarchical data into a tabular data model.

Gathering GitHub Usage and Web Traffic Data

How to capture GitHub repository usage for analysis and visualizations, using PowerShell.

How to check if a SharePoint multi-select lookup column contains a specific value in Power Automate

This article explains how to check if an array of objects - in this case from a SharePoint multi-valued lookup column - contains a specific value, and what the data looks like inside Power Automate.

How to Sync MCommunity Group Members to a SharePoint List

This document presents three different sync approaches between MCommunity and SharePoint Lists that work within the security restrictions of Office 365 and Power Automate, including Microsoft's default Data Loss Prevention (DLP) policy which restricts calling 3rd-party APIs directly.

How to use OData query filters in the SharePoint Get Items action for Power Automate

This article explains the Get Items action in detail, and provides several tips and tricks for filtering data from SharePoint to make Power Automate flows faster by reducing the amount of data being retrieved and leveraging SharePoint's index.

Memoiz

Memoiz provides a function decorator that adds memoization to a function or method. It makes reasonable assumptions about how and if to cache the return value of a function or method based on the arguments passed to the callable.

Overview of TrackMaster: Membership Tracking Tool for U-M Centers and Institutes

An overview of TrackMaster, a membership tracking tool built for University of Michigan and Michigan Medicine centers and institutes, by students in the U-M ITS Summer Internship program.

Sleep Data Automation for Fitbit: Overview

Overview of the Sleep Data Automation code, a project developed by the Mobile Technologies Core and the Sleep & Circadian Rhythm Laboratory to automate the process of cleaning sleep data from Fitbit fitness trackers and comparing or joining it to self-reported sleep diary data.

Trackmaster Power Automate flows

Overview of PowerAutomate flows used by the TrackMaster Membership Tracking tool.
All code is available in GitHub at: https://github.com/DepressionCenter/TrackMaster