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

epi_archive's compactify doesn't support distributions #541

Open
dsweber2 opened this issue Oct 10, 2024 · 0 comments · May be fixed by #540
Open

epi_archive's compactify doesn't support distributions #541

dsweber2 opened this issue Oct 10, 2024 · 0 comments · May be fixed by #540
Assignees
Labels
bug Something isn't working

Comments

@dsweber2
Copy link
Contributor

mwe:

tibble(ahead = 2L, 
  geo_value = "ak", 
  forecast_date = as.Date("2020-01-17"), 
  target_end_date = as.Date("2020-01-19"), 
  actual = 25, 
  .pred_distn = epipredict::dist_quantiles(list(c(1,5,9)), c(0.1,0.5,0.9))) %>% 
 as_epi_archive(other_keys = "ahead", time_value = forecast_date, version = target_end_date)

Unclear if we want to support this and/or weirder column types in general. Logan was suggesting solving via vctrs.

@dsweber2 dsweber2 added the bug Something isn't working label Oct 10, 2024
@brookslogan brookslogan self-assigned this Oct 10, 2024
@dsweber2 dsweber2 changed the title epi_archive doesn't support distributions epi_archive's compactify doesn't support distributions Oct 10, 2024
@brookslogan brookslogan linked a pull request Nov 15, 2024 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants