You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Italian Protezione Civile publishes a very accurated dataset every day. The raw data is available at this address: https://github.com/pcm-dpc/COVID-19
To consider this task feature complete, we need:
create ITAPCRegion, ITAPCProvince, ITAPCNationalTrend models in db/models.py using the fields described here https://github.com/pcm-dpc/COVID-19 but translating the field names to english language (the import script will take care of mapping the original Italian name with the english name in the models)
create ITAPCRegion, ITAPCProvince, ITAPCNationalTrend schemas in schemas/schemas.py using the same fields and data types used for the models
Italian Protezione Civile publishes a very accurated dataset every day. The raw data is available at this address: https://github.com/pcm-dpc/COVID-19
To consider this task feature complete, we need:
ITAPCRegion
,ITAPCProvince
,ITAPCNationalTrend
models indb/models.py
using the fields described here https://github.com/pcm-dpc/COVID-19 but translating the field names to english language (the import script will take care of mapping the original Italian name with the english name in the models)ITAPCRegion
,ITAPCProvince
,ITAPCNationalTrend
schemas inschemas/schemas.py
using the same fields and data types used for the modelsITAPCCRUD
class inservices/crud.py
get_regions_reports()
get_provinces_reports()
get_national_trend_reports()
api/views.py
/v1/itapc/regions-reports/
-->get_regions_reports
/v1/itapc/provinces-reports/
-->get_provinces_reports
/v1/itapc/national-trend-reports/
-->get_national_trend_reports
import_data_itapc.py
import script to import the existing dataThe text was updated successfully, but these errors were encountered: