Skip to content

Algorithm to build a database (in json) with the Wikipedia's API for all the famous deaths from 1992 to 2022.

License

Notifications You must be signed in to change notification settings

CesaHub00/API-Wiki-death

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project "Parsing Wikipedia: wiki-death dataset"

Algorithm to build a database (in json) with the Wikipedia's API for all the famous deaths from 1992 to 2022.

The database will contain:

  • Death date
  • Name and surname of the deceased
  • Age of the deceased

Wiki_deaths contains the main part of the project:

  • the Wikipedia's API to get the data
  • the check existence function to control if the page exists or not
  • the parsing page and line functions to get days/months/years, name and other data for every person
  • the build of the database (json file) called: Death_File.json
  • an algorithm to read the database (json file)
  • a nested for loop to create a graph with deaths per year with the use of the matplotlib library

About

Algorithm to build a database (in json) with the Wikipedia's API for all the famous deaths from 1992 to 2022.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages