Skip to main content

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()

Getting Table from Table Name

  sc.get_table_id_from_name("Gross domestic product (GDP) at basic prices, by industry, monthly, growth rates", limit=15)

Searching for Table(s) by String

  sc.find_table_id_from_name("GDP", limit=15)

Further Reading

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

statscanpy-0.1.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

statscanpy-0.1.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file statscanpy-0.1.2.tar.gz.

File metadata

  • Download URL: statscanpy-0.1.2.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

Hashes for statscanpy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d496e64cf0368131a49b4ee4ff1bc32cc025a172ce64526f6c3b9f85b12239ad
MD5 320d8ef0d63a5768459730e2414d5b6a
BLAKE2b-256 e26b02ad4030bf3e683de7c976cacb8ffe2c2247b7a450f282d36a03005813f2

See more details on using hashes here.

File details

Details for the file statscanpy-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: statscanpy-0.1.2-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

Hashes for statscanpy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dd6ad7b53e6dad3b9cafa71d19840ab75347dc6e05a46936d781ffec811d5bae
MD5 76d42a59e2ecf38e1acd20bb45d58d64
BLAKE2b-256 65b42b32cf40637c272130f4c6c81282e02072622fa8fda17b98e043960fe307

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page