GithubHelp home page GithubHelp logo

Comments (6)

seabbs avatar seabbs commented on July 17, 2024 1

Thanks @jbracher 👍

Yes it does (in that it assumes the character string uniquely map to locations which they currently do not). We had previously reviewed your code processing and so knew that the strings were coming from a data dictionary (this lets us graph based on place name more easily) rather than maintaining our own data dictionary.

We will refactor our code to not rely on place name remaining stable for the future (i.e use our own data linkage). This might mean our model based submission is late or incomplete this week.

from covid19-forecast-hub-de.

dwolffram avatar dwolffram commented on July 17, 2024 1

Hi, I fixed the files - they all use " Free State of Thuringia" now (839cb94).

from covid19-forecast-hub-de.

seabbs avatar seabbs commented on July 17, 2024

The issue is not in the raw RKI data and appears to be driven by this commit ef0643f which would need to be applied retroactively to all processed data to fix this issue (or another alternative like a note saying names have been updated and no longer uniquely map to FIPs codes).

from covid19-forecast-hub-de.

seabbs avatar seabbs commented on July 17, 2024

Looking at the processing code (

fips_english = pd.read_csv('../../template/base_germany.csv')
) the issue is due to a concatenation of old and new data.

If I were fixing I might refactor so that the processed snapshots stay as truth but the overall "truth" csvs are compiled freshly from the daily snapshots on each update rather than concatenated as this would allow you to change names etc without causing downstream errors or changing truth data.

from covid19-forecast-hub-de.

jbracher avatar jbracher commented on July 17, 2024

Hi Sam, thanks for pointing this out. When I merged the PR in ef0643f I had misunderstood what was being done. Just to be sure: Does this break anything in your codes? We recommend to always use location rather than location_name precisely because there are so many different ways of writing the German names out in English.
We will make this uniform in any case (likely without the umlaut as that seems more correct to me). @dwolffram wrote the respective codes and will take a look.

from covid19-forecast-hub-de.

jbracher avatar jbracher commented on July 17, 2024

Okay, thanks. We'd prefer late to incomplete ;-) @dwolffram will fix the truth data set so there will again be a one to one correspondence. So then everything should work again in your codes, but maybe still better to get rid of this problem. On a side note: The location_name column is optional, so you're not even obliged to have it at all.

from covid19-forecast-hub-de.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.