Skip to content

Hiruna-Kumara/Parliament-Members-Search-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Parliament-Members-Search-2021

This repository contains source code for the search engine to find the members of the parliament in Sri Lanka. The Data was scraped from https://www.parliament.lk/si/members-of-parliament/directory-of-members/?cletter=%E0%B6%85 website. Beautifulsoup, which was a python module, was used for web scraping.

Data

There are 8 fields and 100 records available. Below is an example of the data scraped from the above website.

  • Name අරවින්ද් කුමාර්
  • Date of Birth 1954-11-17
  • Marital status විවාහක
  • Religion හින්දු
  • Party සමගි ජන බලවේගය
  • District බදුල්ල
  • Telephone 0777727472
  • Email [email protected]

Setup Search Engine

  • Run elastic search cloud
  • import details.csv

Files in Repository

  • scrapping.ipynb This contains the code for scrapping
  • details.csv This is the file with details for the search

Sample Queries

  • ආගම : "බෞද්ධ"
  • කොළඹ
  • පක්ෂය : "ජාතික ජන බලවේගය" or පක්ෂය : "ශ්‍රී ලංකා නිදහස් පක්ෂය"
  • දිස්ත්‍රික්කය : "ගම්පහ" and පක්ෂය : "ශ්‍රී ලංකා පොදුජන පෙරමුණ"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published