Analytics | data collection | parsing email addresses | Search

movie database

Find cross section of actors and movies

This code imports data from IMDb TSV files (principals, titles, and names) and stores it in a structured SQLite database.

Cell 1

This code provides a set of functions for interacting with a SQLite database containing movie information, including methods for searching by Levenshtein distance and retrieving actor and title data. The functions use a mix of synchronous and asynchronous programming, with prepared statements and promise chains to improve security, performance, and readability.

Cell 2

The code initializes a SQLite database and defines a function dropTitles to drop indices and a table from the database. It also prepares a query to count the number of rows in the name table, but the result is not utilized.

use elastic search from node

This code searches for documents containing "express js" in the "books" index and "book" type within an Elasticsearch database.

create movie database tables

This code sets up a SQLite database schema for storing IMDb movie data, including tables for movies, actors, titles, crew, and episodes, along with indexes to optimize data retrieval.

Or use ZMQ interface like ijupyter