Skip to content

About the VIEWS API

angelicalmcgowan edited this page Sep 21, 2022 · 8 revisions

The VIEWS API is written in Python/FastAPI and as such conforms to the OpenAPI standard. The API currently returns JSON, with all data currently being row-based and row-indexed (an array of observations, where each observation is its own array; not an array of columns).

The VIEWS API is available in alpha testing mode at https://api.viewsforecasting.org.

For assistance in exploring the VIEWS data available via the API, please consult this wiki, visit the self-documenting and interactive query manipulation tool at https://api.viewsforecasting.org/docs, or use the Jupyter notebook in the tools folder.

Metadata

All datasets in the VIEWS API include some human-readable metadata under the codebook/ right below the model path (e.g. https://api.viewsforecasting.org/fatalities001_2022_07_t01/codebook). For ease of access, they can also be downloaded from the codebook folder in this repository.

Questions? Please contact [email protected].

Clone this wiki locally