Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fallcolor wide ist nach Transformation nach long nicht fallcolor long identisch #40

Open
luk-brue opened this issue Nov 18, 2023 · 0 comments
Labels
bug Something isn't working dataset everything regarding example datasets

Comments

@luk-brue
Copy link
Contributor

luk-brue commented Nov 18, 2023

Beschreiben Sie den Fehler:
fallcolor_wide und fallcolor sind nicht identisch nach pivotting.

Zum Replizieren
Schritte, um den Fehler zu erzeugen:

pivot_longer(fallcolor_wide, ...) == fallcolor

Erwartetes Verhalten
Die beiden Datensätze sollten ineinander überführbar sein. Stattdessen hat der wide-Datensatz noch Gruppen mit auschließlich Nullen, die ich im long-Datensatz gelöscht habe.

Lösungsvorschlag
Bearbeite data-raw/fallcolor.R so, dass fallcolor_wide aus der finalen Version von fallcolor erstellt wird, durch tidyr::pivot_wider(). Jeder Tag sollte eine eigene Spalte haben.

@luk-brue luk-brue added the bug Something isn't working label Nov 18, 2023
@luk-brue luk-brue added the dataset everything regarding example datasets label Dec 20, 2023
@luk-brue luk-brue added the good first issue Good for newcomers label Jan 5, 2024
@luk-brue luk-brue removed the good first issue Good for newcomers label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dataset everything regarding example datasets
Projects
None yet
Development

No branches or pull requests

1 participant