pycancensus

Contents:

  • Tutorials
  • Example Gallery
    • National-Level Census Data Analysis
    • Basic Census Data Access
    • Geographic Analysis with Census Data
  • R Equivalence Validation
  • Migration Guide: R to Python
  • API Reference
pycancensus
  • Example Gallery
  • View page source

Example Gallery

This gallery showcases pycancensus functionality through executable examples. Each example demonstrates different aspects of working with Canadian Census data.

Getting Started:

  • If you’re new to pycancensus, start with the tutorials/getting_started tutorial

  • Get your free API key at CensusMapper

  • Set your API key: pycancensus.set_api_key("your_key_here")

Examples in this Gallery:

  • Basic Data Access: Learn core functions for accessing census data

  • Geographic Analysis: Create maps and work with spatial data

  • Data Visualization: Advanced plotting and analysis techniques

All examples are tested and executable - click any thumbnail to see the full code and results.

sphx_glr_auto_examples_plot_national_level.py

National-Level Census Data Analysis

sphx_glr_auto_examples_plot_basic_census_data.py

Basic Census Data Access

sphx_glr_auto_examples_plot_geographic_analysis.py

Geographic Analysis with Census Data

Download all examples in Python source code: auto_examples_python.zip

Download all examples in Jupyter notebooks: auto_examples_jupyter.zip

Gallery generated by Sphinx-Gallery

Previous Next

© Copyright 2024, Dmitry Shkolnik.

Built with Sphinx using a theme provided by Read the Docs.