load_fare
load_fare(project: str, year: int, columns: List[str], filters: Optional[List[Tuple[str, str, str]]] = None)
Loads the FARE data for a given year.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
project |
str)
|
The name of the CASD project |
required |
year |
int
|
The year of the data to load. |
required |
columns |
List[str]
|
The columns to load. |
required |
filters |
Optional[List[Tuple[str, str, str]]]
|
The filters to apply. Each filter is a tuple of (column, operator, value). Defaults to None. |
None
|
Returns:
Type | Description |
---|---|
DataFrame
|
The loaded data. |