jpwahle / cs-insights-backend

API server of the cs-insights project. This is the main part of storing data and accessing an external data analysis endpoint. It uses a mongoDB instance to store everything and queries the cs-insights-prediction-endpoint to get machine learning results.
https://jpwahle.github.io/cs-insights-backend/
MIT License
7 stars 0 forks source link

Set default values for missing data #43

Closed trannel closed 2 years ago

trannel commented 2 years ago

Is your feature request related to a problem? Please describe. The dataset has some missing values, e.g. venue. Also, when the frontend queries the backend using filters some results might have gaps in the data coverage, e.g. the fe/papers/stats endpoint does not return 0's for years without papers/citations.

Describe the solution you'd like Fill all missing values with "NA" upon retrieval. Additionally, modify the fe/papers/stats endpoint, so it always returns all years in the selected timeframe, with the years without entries set to 0.

trannel commented 2 years ago

Added in #50