estatpandas
estatpandas is a Python library that simplifies downloading and processing data from e-Stat, the Japanese government's official statistics portal. The library retrieves data in JSON format and converts it to a pandas DataFrame for easy analysis and manipulation.
Installation
You can install this package using pip: pip install estatpandas
Usage
import estatpandas as epd
api_key = "your_api_key_here"
stats_data_id = "your_stats_data_id_here"
estat_df = epd.get_estat_dataframe(api_key, stats_data_id)
print(estat_df)
Replace your_api_key_here with your actual e-Stat API key and your_stats_data_id_here with the ID of the data you want to retrieve.
License
This project is licensed under the MIT License.
日本語
estatpandas
estatpandas は、日本政府の公式統計ポータルである e-Stat からデータをダウンロードし、処理するための Python ライブラリです。このライブラリは、JSON 形式でデータを取得し、pandas DataFrame に変換して簡単に分析や操作ができるようにしています。
インストール
estatpandas をpipを使ってインストールすることができます: pip install estatpandas
使い方
import estatpandas as epd
api_key = "your_api_key_here"
stats_data_id = "your_stats_data_id_here"
estat_df = epd.get_estat_dataframe(api_key, stats_data_id)
print(estat_df)
your_api_key_here を実際の e-Stat API キーに、your_stats_data_id_here を取得したいデータの ID に置き換えてください。
ライセンス
このプロジェクトは MIT ライセンスのもとでライセンスされています。
Metadata
Release files for estatpandas 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| estatpandas-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for estatpandas-0.1.0-py3-none-any.whl |
Release files / estatpandas-0.1.0-py3-none-any.whl
| Download URL | estatpandas-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e5001578c24aa7fa41331132f803896004df31715a1ff64da1bc42d874b21685
|
|
BLAKE2b-256 checksum How to use checksums |
f1b26f05eb0a72afb2e36cc8752bc104635706603da782b7ae511511883a3e78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for estatpandas 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.