https://github.com/dharmzeey/webscraping-electoral
This was used to extract all the voting wards, their lga and the state that are in Nigeria as at 2022 from INEC website
https://github.com/dharmzeey/webscraping-electoral
chromedriver p python python-selenium selenium webscraping
Last synced: 3 months ago
JSON representation
This was used to extract all the voting wards, their lga and the state that are in Nigeria as at 2022 from INEC website
- Host: GitHub
- URL: https://github.com/dharmzeey/webscraping-electoral
- Owner: Dharmzeey
- Created: 2025-01-17T20:26:47.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-01-17T20:33:23.000Z (5 months ago)
- Last Synced: 2025-03-16T12:33:52.373Z (3 months ago)
- Topics: chromedriver, p, python, python-selenium, selenium, webscraping
- Language: Python
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# webscraping-electoral
This was used to extract all the voting wards, their lga and the state that are in Nigeria as at 2022 from INEC websiteFirst install selenium and the desired driver (I used chromedriver)
Note this code is with the Selenium 2022 documentation and also with the respective website configuration of 2022, there may be few changes to the elements on the websites which will affect the xpath (necessary adjustments might be needed)
### To get the full list and information of the electoral ward as available on the sites in 2022
+ open the details_csv.csv
### To run the scripts for scraping
+ open the app.py and run