Skip to content

Commit

Permalink
(docs): update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-ingwersen-ey committed Aug 12, 2024
1 parent 1aa7b82 commit 2468181
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 17 deletions.
38 changes: 29 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,25 @@ relevant features such as moving averages of key columns from the dataset,
lag columns and weather forecast information.

All data used to train the model was obtained from the library
of `BigQuery` public datasets.
of [BigQuery public datasets](https://cloud.google.com/bigquery/public-data).

All the datasets and models created are stored inside BigQuery. Therefore,
to run this solution and generate the sales forecasts, you need to register an
account in Google Cloud. Then you have to create a new project, enable the
BigQuery service to your account and configure your credentials.
All the datasets and models created are stored inside **BigQuery**.
Therefore, to run this solution and generate the sales forecasts,
you need to [register an account in Google Cloud](https://console.cloud.google.com/).
Then you have to [create a new project](https://developers.google.com/workspace/guides/create-project),
[enable the BigQuery service](https://cloud.google.com/bigquery/docs/enable-transfer-service)
to your account and configure your credentials.

## Forecast Results

A report with the latest forecast results can be found at:
[Iowa Liquor Sales Forecast Report](https://lookerstudio.google.com/reporting/df348e6b-5d25-47bd-ae51-d7d40906a73b)

## Documentation

Please refer to the [Iowa Sales Forecast Documentation](https://erik-ingwersen-ey.github.io/iowa_sales_forecast)
page for more information about the project.

## Code Walkthrough

You can find a step-by-step walkthrough of the entire solution, including
Expand Down Expand Up @@ -78,12 +85,22 @@ You can run the tests using `pytest`:
pytest tests/
```

### Continuous Integration
### Continuous Integration (CI)

This repository is set up with a Continuous Integration (CI) pipeline using GitHub Actions.
The CI pipeline is configured to run the tests automatically whenever code is pushed to the
repository or a pull request is created. This helps to ensure that new changes do not break existing
functionality.
functionality. It also contains a pipeline that recreates the documentation
for the project and generates a new release of the documentation on GitHub
Pages.

Here's the list of currently available pipelines for the project:

* [deploy-docs.yml](./.github/workflows/deploy-docs.yml): deploy
documentation to GitHub Pages.
* [test-code.yml](./.github/workflows/test-code.yml): run the unit-tests
from the [tests](./tests) directory and generate a test coverage report
for the project.


### License
Expand All @@ -95,9 +112,12 @@ This project is licensed under the MIT License. See the [LICENSE](./LICENSE) fil

The `iowa_forecast` package received the following pylint scores:

* `iowa_forecast/__init__.py`: 10.0
* `iowa_forecast/models_configs.py`: 10.0
* `iowa_forecast/ml_train.py`: 10.0
* `iowa_forecast/plots.py`: 9.8
* `iowa_forecast/utils.py`: 9.65
* `iowa_forecast/load_data.py`: 9.28
* `iowa_forecast/utils.py`: 8.99
* `iowa_forecast/load_data.py`: 9.31
* `iowa_forecast/ml_eval.py`: 8.41

* **Average Score:** 9.50
11 changes: 11 additions & 0 deletions iowa_forecast/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"""
Iowa Liquor Sales Forecast Package
"""

__author__ = "Erik Ingwersen"
__copyright__ = "Copyright 2024, Erik Ingwersen"
__license__ = "MIT"
__version__ = "0.0.2"
__maintainer__ = "Erik Ingwersen"
__email__ = "[email protected]"
__status__ = "Development"
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = 'bunge'
version = '0.0.1'
version = '0.0.2'
description = 'Iowa liquor sales forecasting model.'
license = 'MIT.'
authors = ['Ingwersen_erik <[email protected]>']
Expand Down Expand Up @@ -33,28 +33,28 @@ include = [
python = '>=3.8,<3.11'

db-dtypes = "^1.2.0"
furo = "^2024.8.6"
google-cloud-bigquery = "^3.25.0"
google-cloud-bigquery-storage = "^2.25.0"
google-cloud-iam = "^2.15.2"
google-cloud-logging = "^3.11.1"
matplotlib = "3.6.0"
myst-parser = "3.0.1"
numpy = "1.24.4"
numpydoc = "^1.7.0"
pandas = "2.0.3"
plotly = "^5.23.0"
pylint = "2.15.10"
pytest = "^8.3.2"
pytest-cov = "^5.0.0"
python-dateutil = "^2.9.0.post0"
rich = "^13.7.1"
scipy = "1.10.1"
seaborn = "^0.13.2"
google-cloud-iam = "^2.15.2"
pylint = "2.15.10"
sphinx = "7.1.2"
myst-parser = "3.0.1"
sphinx-click = "^6.0.0"
sphinx-inline-tabs = "^2023.4.21"
numpydoc = "^1.7.0"
sphinx-pyreverse = "^0.0.18"
furo = "^2024.8.6"
pytest = "^8.3.2"
pytest-cov = "^5.0.0"

[tool.poetry.scripts]
poetry = 'poetry.console:run'
Expand Down

0 comments on commit 2468181

Please sign in to comment.