Basic package for querying & downloading StatsCan data by table name.
Project description
StatsCanPy
Basic package for querying & downloading StatsCan data by table name. Saves data into a dataframe (Pandas or PySpark).
Installation
pip install statscanpy
Usage
Basic Usage
from statscanpy import StatsCanPy
statscan = StatsCanPy(path="/data/saved/here", isSpark=True)
Getting Table from Table Name
statscan.get_table_id_from_name("Household spending, Canada, regions and provinces")
Searching for Table(s) by String
statscan.find_table_id_from_name("GDP", limit=15)
Further Reading
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
statscanpy-0.1.3.tar.gz
(3.3 kB
view details)
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 statscanpy-0.1.3.tar.gz.
File metadata
- Download URL: statscanpy-0.1.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7a8c9f0b0d377f64aa204b1e4b4430a27cb4304ddfcd3cb402f0b13548b5419
|
|
| MD5 |
1ff5f42bb588db3fff23bbb9e5aa76f0
|
|
| BLAKE2b-256 |
e6275f042b1f298e91c49269a79112af2a56c6ae2dac6e83ab98defff5ebdee5
|
File details
Details for the file statscanpy-0.1.3-py3-none-any.whl.
File metadata
- Download URL: statscanpy-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdaa07f4ef111fb44c015baa29adc9c0018638e6901cd85862d836ad055d3992
|
|
| MD5 |
a1431e9695e9d9f7239d6828eaf6f14a
|
|
| BLAKE2b-256 |
3a14c95c0849a66c404c4f875c2b69fb110ce837b5ed1dc2409dee413cfb6137
|