Code Monkey home page Code Monkey logo

sdohplace-metadatamanager's Introduction

SDOH Place - Metadata Manager

This is the metadata manager for the SDOH & Place Project, a new map-based search platform for SDOH data discovery that will curate and integrate validated geospatial data relevant to public health at multiple scales.

Preliminary Metadata Creation

Schema

We are using the Aardvark schema from OpenGeoMetadata (OGM) Aardvark Schema, along with some extra fields specifically for our needs. These fields are:

Custom metadata schema for this project:

  • Spatial Resolution (=tract, zip code, county)
  • Spatial Resolution Note
  • Data Variables
  • Methods Variables

Initial Discovery Datasets:

  • County Health Rankings
    • 2021 county (MK - Needs Review)
  • City Health Dashboard
    • 2018 census tract (Augustyn will Review - Add Placenames to Spatial Coverage)
  • Neighborhood Health Atlas (ADI)
    • 2015 block group (Sarthak - Needs Review)
    • 2020 block group (Sarthak - Needs Review)
  • SDOH Indices
    • 2014 census tract
  • Opportunity Index
    • most recent; census tract
    • most recent; county
  • Social Vulnerability Index

Contributors

  • Marynia Kolak
  • Sarthak Joshi
  • Augustyn Crane
  • Adam Cox
  • Mandela Gadri

Metadata Markdown Files

If you are looking for the Metadata or DataDictionary folders, these are now located in

MetadataManager/manager/metadata/

MetadataManager Flask App

Configure

cp ./flask/.env.example ./flask/.env

Required .env content:

SOLR_HOST: full url to Solr endpoint

Install/Run locally

A dev deploy will serve the app on Flask's default port (5000).

Create Python virtual environment:

python3 -m venv env
source ./env/bin/activate

Clone and install package

git clone https://github.com/healthyregions/SDOHPlace-MetadataManager
cd SDOHPlace-MetadataManager
pip install -e .

Run in debug mode:

flask --app MetadataManager.manager.app run --debug

--debug will auto-reload the app whenever a file is changed (though it seems like changes to HTML or CSS files may require the app to be stopped and restarted...).

To run as a background process with gunicorn, first set scripts to be executable:

sudo chmod +x ./scripts/*.sh

Then use

./scripts/start.sh
./scripts/stop.sh
./scripts/restart.sh

to control the application. A log will be created in ./scripts/.log.

Install/Run with Docker

The Docker deploy will serve the app on port 8080 with nginx.

Start containers

docker-compose up -d --build

Stop containers

docker-compose down

sdohplace-metadatamanager's People

Contributors

mradamcox avatar augumc avatar makosak avatar sarthak12joshi avatar theashwin avatar jcorra20 avatar

Stargazers

Chase M Fensore avatar  avatar

Watchers

 avatar  avatar  avatar Kostas Georgiou avatar

Forkers

augumc

sdohplace-metadatamanager's Issues

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.