Hans Olav Melberg's repositories
stats-to-pandas
Download data from statistical agencies to pandas dataframes.
health-analytics-using-python
A set of notebooks demonstrating methods for how to analyze hospital and prescription data using Python
CausalInference
Causal Inference in Python
pandas_temporal_query
Enable temporal queries in a pandas dataframe: 'X before Y', 'X within 100 days of Y' , 'min 5 of X before 1st Y'
pyDALAnvilWorks
For your anvil app on your laptop. Run pytests and edit using autocomplete on your laptop.To allow testing locally, this repo mirrors anvil.work's database connection using pydal, uses mock classes for the browser UI.
pyodide-html
HTML elements for pyodide, implemented as Python functions
agentpy
Agentpy is an open-source framework for the development and analysis of agent-based models in Python.
Amua
An open source modeling framework
Carta
Python library for making GUI applications on the ReMarkable tablet using "simple".
coding-for-economists
This repository hosts the code behind the online book, Coding for Economists.
d3blocks
The Python library to create stand-alone and interactive d3 charts.
Healthcare-Analytics
Hospital admission data was analyzed to accurately predict the patient’s Length of Stay at the time of admit so that the hospitals can optimize resources and function better.
incidence
Estimates the annual number of new cases ('disease incidence') from a Pandas dataframe of individual level event data (hospital events, prescriptions). Adjusts for limited look-back time. Also adjusts for limited look-forward time when the case-definition requires at least two events.
make_totorials
comment section for make tutorial app
matrix
A Python package for various 2D matrix operations and manipulations.
pattern_finder
Find, analyze and visualize typical patterns of events from data in a Pandas dataframe (prescriptions, pharmaceuticals, hospital events).
ph_table
Package to make html pretty again
plotly_express_to_js
Converts a plot expressed in the api of plotly express (in python) to a plotly js specification and a html div with the plot. Can be used to create plotly graphs in Brython.
pynumpy
A lightweight, pure Python, numpy compliant ndarray class.
pypandas
Pandas for Lambdas
research_public
Quantitative research and educational materials
snotra_blog
A mainly technical blog about using python to analyze health data from large registers (prescription databases, hospital billing data, medicare, MPES)