Etl.Helpersval write_file : string -> Types.result list -> unitWrites results to a CSV file.
Runs HTTP GET and handles result. Wrapper on the http_get function.
val insert_result : Sqlite3.db -> Types.result -> unitInserts a result into SQLite database.
val insert_ym_result : Sqlite3.db -> Types.ym_result -> unitInserts a year-month result into SQLite database.
val write_to_sqlite :
Sqlite3.db ->
Types.result list ->
Types.ym_result list ->
unitWrites results and year-month results to an SQLite database.
val parse_user_input : unit -> Types.user_inputParses user input to create filter criteria for origin and status. Prompts the user to enter numeric choices for origin and status filters, converting them into string representations.