tests/testthat/_snaps/epi_df.md

as_epi_df errors on nonunique epikeytime

Code
  as_epi_df(tibble::tibble(geo_value = 1, time_value = 1, value = 1:2), as_of = 5)
Condition
  Error:
  ! Assertion on 'x' failed: There cannot be more than one row with the same combination of geo_value and time_value.  Problematic rows:
  # A tibble: 2 x 3
    geo_value time_value value
        <dbl>      <dbl> <int>
  1         1          1     1
  2         1          1     2
  > If this is line list data, convert it to counts/rates first.
  > If this contains a demographic breakdown, check that you have specified appropriate `other_keys`.


cmu-delphi/epiprocess documentation built on Feb. 22, 2025, 9:26 a.m.