Hi, I am trying to get the COVID confirmed cases number from Dbnomics with Python. I am using : df = fetch_series(‘JHU’, ‘confirmed’, max_nb_series=300) But I have an error message : KeyError: ‘province’ I also …
JHU data - Documentation - DBnomics forum = 40rem)" rel="stylesheet" data-target="discourse-ai_desktop" /> = 40rem)" rel="stylesheet" data-target="discourse-reactions_desktop" /> = 40rem)" rel="stylesheet" data-target="poll_desktop" /> JHU data Documentation Jtbk July 26, 2020, 1:25pm 1 Hi, I am trying to get the COVID confirmed cases number from Dbnomics with Python. I am using : df = fetch_series(‘JHU’, ‘confirmed’, max_nb_series=300) But I have an error message : KeyError: ‘province’ I also tried to get just USA data : df = fetch_series(‘JHU’, ‘confirmed’, series_code=“USA”, max_nb_series=300) I get the same error message. I also tried df = fetch_series(‘JHU/confirmed/USA’) but same result. And finally I did also but with the same result : df = fetch_series_by_api_link(‘https://api.db.nomics.world/v22/series/JHU/deaths?limit=1000&offset=0&q=&observations=1&align_periods=1&dimensions={“frequency”%3A[“D”]}’, max_nb_series=300) Last but not the list, all the previous method work fine when I select a province (for example JHU/deaths/CAN-albe) It is like if the series code is not correct for countries only dimension I think I miss something about province parameter but I do not know how to fix it. Any suggestions ? cbenz July 28, 2020, 2:09pm 2 Hi, indeed there is a bug in the dbnomics Python package. I could reproduce it so I created the issue ticket https://git.nomics.world/dbnomics-fetchers/management/-/issues/724 Please follow up on the issue directly.