diff --git a/co2calculator/data_handlers.py b/co2calculator/data_handlers.py index a5bb460..bdc224b 100644 --- a/co2calculator/data_handlers.py +++ b/co2calculator/data_handlers.py @@ -46,7 +46,11 @@ def get(self, parameters: dict): class Airports: - pass + def __init__(self): + """Init""" + self.airports = pd.read_csv( + "https://davidmegginson.github.io/ourairports-data/airports.csv" + ) class DetourFactors: