Skip to main content

estat

Download data from Japanese Government Statistics and save it as CSV format files.
各府省等が公表する統計データがまとめられた政府統計の総合窓口(e-Stat)からデータをダウンロードし、CSV形式のファイルに保存します。

How to use

  • First you must get appID from e-Stat site from here (https://www.e-stat.go.jp/). まずe-Stat (https://www.e-stat.go.jp/)からappIDを取得します。

  • Next do the followings.
    次に下記のコマンドを実行します。
    >>> import estat
    >>> estat.download()
    You can find csv format files in $HOME/estat/data-cache.
    $HOME/estat/data-cache ディレクトリにCSV形式のデータファイルが生成されます。

If you want to change estat directory from $HOME/estat, do the following.

>>> estat.download(directory='/home/hoge/data/estat/')
If you cannot download the CSV format files,
check the appID and curl settings in ~/.curlrc or /etc/.curlrc for your proxy server settings.
$ cat proxy ~/.curlrc

Author

License

Licensed under the MIT license.

Remarks

This program is created referring to this site

Metadata

Release files for estat 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for estat 1.2.1
File Size Uploaded Provenance Actions
estat-1.2.1.tar.gz 5.8 kB Without provenance Details for estat-1.2.1.tar.gz

Release files / estat-1.2.1.tar.gz

Download URL estat-1.2.1.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2a1d7de7e4dacb928f2abaccb34be5e27e10a2d384bcf4cd8a7ca9f29b0af5f9
BLAKE2b-256 checksum
How to use checksums
3ef5da9ecefe9694992552d534b2392e332ac31debea049dce61b6d4cc455cc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for estat 1.2.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page