Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/report #19

Merged
merged 5 commits into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,11 @@ UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak

# Quatro files
report_files/*
*.html
*.qmd

# SQL Server files
*.mdf
*.ldf
Expand Down
6 changes: 6 additions & 0 deletions .streamlit/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[theme]
primaryColor="#F63366"
backgroundColor="#FFFFFF"
secondaryBackgroundColor="#F0F2F6"
textColor="#262730"
font="sans serif"
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![codecov](https://codecov.io/gh/datasciencecampus/consultation_nlp/branch/main/graph/badge.svg?token=bvdkp2cCG8)](https://codecov.io/gh/datasciencecampus/consultation_nlp)
[![Twitter](https://img.shields.io/twitter/url?label=Follow%20%40DataSciCampus&style=social&url=https%3A%2F%2Ftwitter.com%2FDataSciCampus)](https://twitter.com/DataSciCampus)

Python code for preliminary natural language processing analysis for 2023 population transformation
Python code for preliminary natural language processing analysis for 2023 population transformation
consultation

```{warning}
Expand All @@ -21,7 +21,7 @@ requirements](requirements.txt).
It's suggested that you install this pack and it's requirements within a virtual environment.

### Cloning the repo
To clone the repo, open command promt and navigate to the directory you want to save the repo to and call:
To clone the repo, open command promt and navigate to the directory you want to save the repo to and call:
`git clone https://github.com/datasciencecampus/consultation_nlp.git`

### Pre-commit actions
Expand Down Expand Up @@ -70,10 +70,21 @@ python src/run_pipeline.py

Alternatively, most Python IDE's allow you to run the code directly from the IDE using a `run` button.


### Running the streamlit app (dashboard)

1) Ensure all requirements are downloaded from the requirements.txt by openning up the shell terminal (anaconda prompt) and running:
```shell
pip install -r requirements.txt
```
2) Keep the shell terminal open and navigate to the directory where this code is saved and run:
```shell
streamlit run streamlit_app.py
```
## Licence

This codebase is released under the MIT License. This covers both the codebase and any sample code in
the documentation. The documentation is ©Crown copyright and available under the terms of the
the documentation. The documentation is ©Crown copyright and available under the terms of the
Open Government 3.0 licence.

## Contributing
Expand Down
87 changes: 87 additions & 0 deletions assets/img/data-science-campus-logo-new.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/ons_dsc_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading