|
5 | 5 | [](https://badge.fury.io/py/stats-can) |
6 | 6 | [](https://anaconda.org/conda-forge/stats_can) |
7 | 7 |
|
8 | | -API documentation for StatsCan can be found here: https://www.statcan.gc.ca/eng/developers/wds |
| 8 | +API documentation for StatsCan can be found on the [web data service docs](https://www.statcan.gc.ca/eng/developers/wds) |
9 | 9 |
|
10 | | -If you're looking for Table/Vector IDs to use in the app you can find them through this: |
11 | | -https://www150.statcan.gc.ca/n1/en/type/data |
| 10 | +If you're looking for Table/Vector IDs to use in the app you can find them through [the StatCan data page](https://www150.statcan.gc.ca/n1/en/type/data) |
12 | 11 |
|
13 | | -Anaconda package here: |
14 | | -https://anaconda.org/conda-forge/stats_can |
| 12 | +[Anaconda package](https://anaconda.org/conda-forge/stats_can) |
15 | 13 |
|
| 14 | +[Read the docs](https://stats-can.readthedocs.io/en/latest/) |
16 | 15 |
|
17 | | -Documentation here: |
18 | | -https://stats-can.readthedocs.io/en/latest/ |
| 16 | +# Introduction |
| 17 | + |
| 18 | +This library implements most of the functions defined by the Statistics Canada |
| 19 | +[Web Data Service](https://www.statcan.gc.ca/eng/developers/wds). |
| 20 | +It also has a number of helper functions that make it easy to read Statistics |
| 21 | +Canada tables or vectors into pandas dataframes. |
| 22 | + |
| 23 | +# Installation |
| 24 | + |
| 25 | +The package can either be installed with pip or conda: |
| 26 | + |
| 27 | +```bash |
| 28 | +conda install -c conda-forge stats_can |
| 29 | +``` |
| 30 | + |
| 31 | +Or: |
| 32 | + |
| 33 | +```bash |
| 34 | +pip install stats-can |
| 35 | +``` |
| 36 | + |
| 37 | +The code is also available on |
| 38 | + |
| 39 | +[github](https://github.com/ianepreston/stats_can). |
| 40 | + |
| 41 | +# Contributing |
| 42 | + |
| 43 | +Contributions to this project are welcome. Fork the repository from |
| 44 | +[github](https://github.com/ianepreston/stats_can). |
| 45 | + |
| 46 | +You'll need a python environment with poetry installed. A good guide for setting |
| 47 | +up an environment and project (that I used for this library) is [hypermodern python](https://cjolowicz.github.io/posts/hypermodern-python-01-setup/). |
| 48 | + |
| 49 | +I've configured the project to use nix for environment creation. If you use nix then the makefile in the root of the project will let you create |
| 50 | +development environments and run tests. However you like to configure a uv project should work though. |
| 51 | + |
| 52 | +I'd also welcome contributions to the docs, or anything else that would make this tool better for you or others. |
0 commit comments