This repository contains Area Health Resource Files parsers.
Follow to setup AHRF files in the data directory:
- Download AHRF files from here.
- Unzip in ahrf-hrsa/data directory.
This package supports following:
- Parse county and state level schema file.
- Convert data ascii file to csv format.
- state - Contains State Abbreviation
- state_name - Contains State Name
- field - Contains field identifier
- variable - Contains variable/metric name
- value - Contains variable/metric value
- characteristics - Contains description
- source - Contains source of metric
- year - Contains year of metric reported
- dateon - Contains metric updated date
- state_abbrv - Contains State Abbreviation
- county_name - Contains County Name
- field - Contains field identifier
- variable - Contains variable/metric name
- value - Contains variable/metric value
- characteristics - Contains description
- source - Contains source of metric
- year - Contains year of metric reported
- dateon - Contains metric updated date
- metrics.py - This file creates state and county level metrics csv file.
- parse_data.py - This file computes state and county level and return dataframe.
- parse_schema.py - This file parses state and county level schema file.
- Clean output data as it contains leading and trailing spaces.
- Optimise code for given number of rows.
- Create categories and sub categories for variable field and expand schema
- Add support to load this data in database.