My name is Dominic Teo and I'm currently an analytics manager with the Ministry of National Development (MND). I'm interested in the intersection of public policy and technology as well as the application of Big Data and Civic Tech in the public sphere.
I graduated Cum Laude from Sciences Po Paris with a BA in Social Sciences & Economics followed by a MS in Computational Analysis and Public Policy (MSCAPP) at the University of Chicago. The MSCAPP degree is a 2 year dual degree offered by the Schools of Computer Science and Public Policy.
Take a look at my resumé and various projects! (click on titles of projects for more details)
Hosted on GitHub Pages — Theme by orderedlist
Built using: Python - Flask and BeautifulSoup, Javascript, HTML and hosted on Render
Background
Recently, Netflix began publicizing its global top 10 most watched films or TV shows. This provides a list of content for people to watch yet besides the title, Netflix’s website does not provide any more information on these films/shows that will help people decide if these films/shows are for them.
This website/program helps scrapes the top 10 lists from Netflix’s website for the following countries:
Countries covered in this program |
---|
Australia |
Brazil |
France |
Hong Kong |
India |
Japan |
Singapore |
Taiwan |
United States |
United Kingdom |
Users can either select the country in the drop-down list or access the results directly via URL. There are 2 aspects to this program:
The OMDb API and YouTube trailer will then be shown.
Then the Flask API will use the film title to web scrape the URL for the film trailer on YouTube which will then embedd it.
Note: on Javascript, accessing the Flask API that loops through the web scrapped list means that it will return the results not in the Top 10 order but in the order in which the results are returned. Hence, I have created 10 unique ID divs for Films and another 10 unique ID divs for TV shows. Their ID contains their rank thus regardless of the order in which results are returned, they will populate the div that contains their rank.