jpcorpreg is a Python library that downloads corporate registry which is published in the Corporate Number Publication Site as a data frame.
Project description
jpcorpreg
jpcorpreg is a Python library that downloads corporate registry which is published in the Corporate Number Publication Site as a data frame.
Installation
jpcorpreg is available on pip installation.
$ python -m pip install jpcorpreg
GitHub Install
Installing the latest version from GitHub:
$ git clone https://github.com/new-village/jpcorpreg
$ cd jpcorpreg
$ pip install -e .
Usage
This section demonstrates how to use this library to load and process data from the National Tax Agency's Corporate Number Publication Site.
Direct Data Loading
To download data for a specific prefecture, use the load function. By passing the prefecture name as an argument, you can obtain a DataFrame containing data for that prefecture.
>>> import jpcorpreg
>>> df = jpcorpreg.load("Shimane")
To execute the load function without argument, data for all prefectures across Japan will be downloaded.
>>> import jpcorpreg
>>> df = jpcorpreg.load()
CSV Data Loading
If you already have a downloaded CSV file, use the read_csv function. By passing the file path as an argument, you can obtain a DataFrame with headers from the CSV data.
>>> import jpcorpreg
>>> df = jpcorpreg.read_csv("path/to/data.csv")
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
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 jpcorpreg-1.7.0.tar.gz.
File metadata
- Download URL: jpcorpreg-1.7.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec81ef39d67371c36190a0e627ca261c1edf6ae44026c134fb8d33b34677c7c6
|
|
| MD5 |
d37d3a71ae6c0ad1dc99862d49059148
|
|
| BLAKE2b-256 |
950fc424ebbedf474f9f2b5e756032ed0fd483c4eb120d6468a68456242c38a0
|
File details
Details for the file jpcorpreg-1.7.0-py3-none-any.whl.
File metadata
- Download URL: jpcorpreg-1.7.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab829bc29c4bdbd012ffd57d5f8426b82fb6fad10868e88726c1f56204ebc898
|
|
| MD5 |
d06092926778cca41e3ea03d6b792450
|
|
| BLAKE2b-256 |
94528a251ff59ae9d89d12aabc8bfb87117ecf0c76fe895e3f566c73ee7c3dcb
|