This Jupyter notebook provides an example of what you can do using data published on WPD's connected data portal. This specific Lab will walk you through extracting a number of diverse datasets through API calls and visualising them using Python.
To get a local copy up and running follow these simple example steps.
This is an example of how to list things you need to use the software and how to install them.
-
Clone the repo
git clone https://github.com/wpd-data/smart-meters.git
-
Creating a new environment is not strictly necessary, but given that installing other geospatial packages from different channels may cause dependency conflicts (as mentioned in the note above), it can be good practice to install the geospatial stack in a clean environment starting fresh.
The following commands create a new environment with the name geo_env, configures it to install packages always from conda-forge, and installs GeoPandas in it:
conda create -n geo_env conda activate geo_env conda config --env --add channels conda-forge conda config --env --set channel_priority strict conda install python=3 geopandas
-
Open Jupyter Notebook and run
Use this notebook in conjunction with WPD's connected data portal to explore and visualise the vast array of datasets available.
N/A
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the WPD Open Data License. For more information see here
Liam McSweeney - wpddata@westernpower.co.uk
Project Link: https://github.com/wpd-data/smart-meters/
- Jon Berry
- George Kiely