import streamlit as st
import pandas as pd
import argparse
import datetime as dt
from sqlmodel import create_engine, Session

parser = argparse.ArgumentParser(description="A steamlit dashboard for visualising news analytics.")
parser.add_argument("--database", type=str, default="sqlite:///database.db")

class Dasboard:
    def __init__(self, database) -> None:
        self.engine = 