Skip to content

A set of Python tools to parse files from a standard dump of HMIS (Homeless Management Information System) data and do some simple analysis and visualization.

License

Notifications You must be signed in to change notification settings

mattbellis/hmis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

DOI

hmis

A set of Python tools to parse files from a standard dump of HMIS (Homeless Management Information System) data and do some simple analysis and visualization.

hmis is written in python and developed by Sara Mahar (now at the University of San Francisco) and Matthew Bellis at Siena College.

More complete documentation can be found at readthedocs.

Requirements

  • Python 2.7, 3.5, or 3.6
  • NumPy >= 1.11.2
  • Plotly >= 2.0.0
  • Pandas >= 0.19.1
  • Folium >= 0.3.0
  • Geopy >= 1.10.0

Install

Install the latest version from Github.

git clone git@github.com:mattbellis/hmis.git
cd hmis
python setup.py install

Usage

This repository also contains a Jupyter Notebook where you can see some examples of the visualizations and analysis features of hmis-python.

Basic example

import hmis

# If you are running this from the hmis directory (not hmis/hmis), 
# Python 3.5+
people = hmis.read_dictionary_file('test_data/hmis_test_data.pkl')

# or 

# Python 2.7
people = hmis.read_dictionary_file('test_data/hmis_test_data_py27.pkl')

subset = hmis.select_by_age(people,lo=10,hi=50)

hmis.pretty_print(subset)

About

A set of Python tools to parse files from a standard dump of HMIS (Homeless Management Information System) data and do some simple analysis and visualization.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •