Skip to main content

Python toolkit for Indonesian official microdata

Project description

StatsKita

⚠️ v0.1.0 - Alpha Release: This is an early release. The API may change in future versions. Use in production with caution.

Python toolkit for Indonesian official microdata.

TL;DR

Load → Clean → Analyze → Export Indonesian official microdata (SAKERNAS, SUSENAS, PODES) with proper survey weights, 10x faster than manual workflows, validated against official BPS publications.

Quick Start

import statskita as sk

# Load SAKERNAS data
df = sk.load_sakernas("sakernas_2024.sav")

# Wrangle and harmonize
clean_df = sk.wrangle(df, harmonize=True, source_wave="2024")

# Declare existing survey design
spec = sk.declare_survey(clean_df, weight="survey_weight")

# Calculate indicators
results = sk.calculate_indicators(spec, ["lfpr", "unemployment_rate"])

Installation

pip install statskita

Features

  • Complex survey data loading with proper weights and design
  • Cross-wave harmonization for longitudinal analysis
  • Labor force indicator calculations (Labour Force Participation Rate, Unemployment Rate, etc.)
  • Export to multiple formats (Stata, Excel, Parquet)
  • Fast processing with Polars backend

See examples/ directory for detailed usage.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

statskita-0.1.0.tar.gz (214.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

statskita-0.1.0-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

Details for the file statskita-0.1.0.tar.gz.

File metadata

  • Download URL: statskita-0.1.0.tar.gz
  • Upload date:
  • Size: 214.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for statskita-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7cf256a850bcea7a75328e6bd4e5ec2194ac2b7c614b991092d3563fc2a0e51c
MD5 f5a5ae52bbba21d266efe666fa84d3ee
BLAKE2b-256 5ad586b7234581d51a190f9bba412dc820977d68f2df22e483d99cf600f2480a

See more details on using hashes here.

Provenance

The following attestation bundles were made for statskita-0.1.0.tar.gz:

Publisher: release.yml on okkymabruri/statskita

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file statskita-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: statskita-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 37.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for statskita-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c078eb47b0fd55ebe50409bb5b0ffe8f8de3d07d1686c036853a8c09052a7d5b
MD5 89b7f00ad7c6bb02f6810ff1edf5d341
BLAKE2b-256 e79d116f166d42204dbcba1fd84ee4b073d59b05a7ab0fbdeca7818069ca8b0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for statskita-0.1.0-py3-none-any.whl:

Publisher: release.yml on okkymabruri/statskita

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page