## fetch_project_total()


Fetch total daily views for a project (`/aggregate/` endpoint), used as the denominator.


Usage


``` python
fetch_project_total(
    project="en.wikipedia",
    start=DATA_FLOOR,
    end=None,
    granularity="daily",
    **kw
)
```


## Parameters


`project: str = ``"en.wikipedia"`  
Wikimedia project, e.g. `"en.wikipedia"`.

`start: dt.date = DATA_FLOOR`  
Inclusive date range.

`end: dt.date = DATA_FLOOR`  
Inclusive date range.

`granularity: str = ``"daily"`  
`"daily"` or `"monthly"`.


## Returns


`pd.DataFrame`  
Columns `date`, `views`.
