- Built with ->
requests-html
,pandas
,datasette
,github-action
,cloud-run
,bigquery
,sqlite
,playwright
The base idea of this project is to record the daily struggles of Burma People to be remembered in the furture and the significant point to monitor is price of commodity or groceries.
Current tracking prices - Rice , Common groceries , Petrol
- Petroleum dashboard - Tableau
- Petrol price from Myanmar Petroleum Trade Association (short : MPTA)
- Common gorceries price from Wisarra
- Rice data from Myanmar Rice Association Facebook Page. (Not update yet)
- Daily price rates from Denko company website. (starting from 2022 May 19)
- Startfish Petroleum port price. (starting from 2019 Dec 29 to current day)
- Install required libraries :
pip install -r requirements.txt
- Run scraping task - code
python3 scrape_marketprice.py
- Deploy to datasette & cloud run
./deploy.sh
- Daily collect/scrape data from websites.
- Automate with Github Action.
- Deploy with
Datasette
to GoogleCloud run
service.
-
Data Viz
- Create Overall dashboard
- Embed dashboard into webpage
-
Datasette
- Manual in Burmese
- Data cleaning script
- Make sure to use correct data formats in important columns
- Should I add another .db for clean data?
- Relational Database between different data sources
- Add custom template for UI
- Update metadata.yml
-
Myanmar Rice
- Collect data from Gsheet into BigQuery
- BigQuery into SQlite db with python
- Insert into price.db
-
MPTA :
- Update to Datasette
- Automate with Github Action
-
Wisarra
- Update to Datasette
-
Added resources
- GreenWay Market Price
- MaxMyanmar
- Automate with Github Action
- Scrape data - Finished at June 3,22. It took me two or three days to finish it and the most difficult task before I found out how to call POST method JSON. HaHa , Good to learn new things. First time using Playwright.
- Denko - May 19
- Starfish Petrol - May 21
- Scraping Tableau Featured Developer page
- Code
- Main idea is to make monthly scraper to collect Tableau Dev data and make an analysis/viz.
- Buit with ->
Selenium
,BeautifulSoup
,Datasette
,Python