An intuitive platform designed to simplify the analysis of Iran household budget survey data.
Project description
HBSIR
A package to obtain household expenditure and income survey data.
Usage
:one: Clone the repository:
git clone https://github.com/iran-open-data/HBSIR household
:two: Create the settings.yaml
file based on the settings-sample.yaml
.
:three: Create a script in the root folder, using the hbsir
modules as needed:
from hbsir import archive_handler, raw_data, process
archive_handler.download_year_files_in_range(1396, 1397)
archive_handler.unpack_yearly_data_archives (1396, 1397)
archive_handler.extract_data_from_access_files(1396, 1397)
raw_data.make_parquet([1396, 1397], 'food')
process.get_commodity_data("flour_and_noodle", 1397)
process.get_commodity_data("meat", 1397)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hbsir-0.1.0.tar.gz
(37.2 kB
view hashes)
Built Distribution
hbsir-0.1.0-py3-none-any.whl
(41.0 kB
view hashes)