Skip to main content

Basic package for accessing StatsCan data.

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.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.1.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.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: statscanpy-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 46d17b274601be41db594b0011f1cb4964745efc816a715a1ad022b5757f6600
MD5 efc4d073f7c28c54bbbe8b3615f02b1b
BLAKE2b-256 0e21f85d4863a82821e4e0df59f537a48ddbdfb8d408080aa2c358e296eca96d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: statscanpy-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 72520690f20d77c9d346663a0ed7a02ff63b5a19d9a2d7d5cb07c953d922e7eb
MD5 6814fab2da31d2e9a3e0c025c107a5ab
BLAKE2b-256 86d232f00efaf8b5750e564a9bc1033fe0e66cccd8a350ea544db7b21675de09

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