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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cf256a850bcea7a75328e6bd4e5ec2194ac2b7c614b991092d3563fc2a0e51c
|
|
| MD5 |
f5a5ae52bbba21d266efe666fa84d3ee
|
|
| BLAKE2b-256 |
5ad586b7234581d51a190f9bba412dc820977d68f2df22e483d99cf600f2480a
|
Provenance
The following attestation bundles were made for statskita-0.1.0.tar.gz:
Publisher:
release.yml on okkymabruri/statskita
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
statskita-0.1.0.tar.gz -
Subject digest:
7cf256a850bcea7a75328e6bd4e5ec2194ac2b7c614b991092d3563fc2a0e51c - Sigstore transparency entry: 566236100
- Sigstore integration time:
-
Permalink:
okkymabruri/statskita@e8eb59f8ea79423efba274fc8b275083a86b9594 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/okkymabruri
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e8eb59f8ea79423efba274fc8b275083a86b9594 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c078eb47b0fd55ebe50409bb5b0ffe8f8de3d07d1686c036853a8c09052a7d5b
|
|
| MD5 |
89b7f00ad7c6bb02f6810ff1edf5d341
|
|
| BLAKE2b-256 |
e79d116f166d42204dbcba1fd84ee4b073d59b05a7ab0fbdeca7818069ca8b0b
|
Provenance
The following attestation bundles were made for statskita-0.1.0-py3-none-any.whl:
Publisher:
release.yml on okkymabruri/statskita
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
statskita-0.1.0-py3-none-any.whl -
Subject digest:
c078eb47b0fd55ebe50409bb5b0ffe8f8de3d07d1686c036853a8c09052a7d5b - Sigstore transparency entry: 566236105
- Sigstore integration time:
-
Permalink:
okkymabruri/statskita@e8eb59f8ea79423efba274fc8b275083a86b9594 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/okkymabruri
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e8eb59f8ea79423efba274fc8b275083a86b9594 -
Trigger Event:
push
-
Statement type: