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

Latest Connecticut Data update causes format_nyt() to fail #2

Open
jpiburn opened this issue May 4, 2020 · 0 comments
Open

Latest Connecticut Data update causes format_nyt() to fail #2

jpiburn opened this issue May 4, 2020 · 0 comments
Assignees

Comments

@jpiburn
Copy link
Contributor

jpiburn commented May 4, 2020

Looking into this issue now. Just wanted to give you a heads up. @nnnagle

library(tidyverse)
library(covidmodeldata)

df_orig <- get_nyt()

df <- format_nyt(df_orig)
#> Error in rmultinom(1, abs(cases_to_distribute), prob = case_probs): no positive probabilities

# remove CT, works as expected
df_no_ct <- format_nyt(df_orig, skip_assignment = "09")

Created on 2020-05-04 by the reprex package (v0.3.0)

@jpiburn jpiburn self-assigned this May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant