tests/testthat/_snaps/print.md

print() works on forecast_* objects

Code
  print(dat)
Message
  Forecast type:
  binary
  Forecast unit:
  location, location_name, target_end_date, target_type, forecast_date, model,
  and horizon
Output

       location location_name target_end_date target_type forecast_date
         <char>        <char>          <Date>      <char>        <Date>
    1:       DE       Germany      2021-05-08       Cases    2021-05-03
    2:       DE       Germany      2021-05-08       Cases    2021-05-03
    3:       DE       Germany      2021-05-08       Cases    2021-05-03
    4:       DE       Germany      2021-05-08      Deaths    2021-05-03
    5:       DE       Germany      2021-05-08      Deaths    2021-05-03
   ---                                                                 
  883:       IT         Italy      2021-07-24      Deaths    2021-07-12
  884:       IT         Italy      2021-07-24      Deaths    2021-07-05
  885:       IT         Italy      2021-07-24      Deaths    2021-07-12
  886:       IT         Italy      2021-07-24      Deaths    2021-07-05
  887:       IT         Italy      2021-07-24      Deaths    2021-07-12
                       model horizon predicted observed
                      <char>   <num>     <num>   <fctr>
    1: EuroCOVIDhub-ensemble       1     0.375        0
    2: EuroCOVIDhub-baseline       1     0.475        0
    3:  epiforecasts-EpiNow2       1     0.425        0
    4: EuroCOVIDhub-ensemble       1     0.425        0
    5: EuroCOVIDhub-baseline       1     0.500        1
   ---                                                 
  883: EuroCOVIDhub-baseline       2     0.250        0
  884:       UMass-MechBayes       3     0.475        0
  885:       UMass-MechBayes       2     0.450        0
  886:  epiforecasts-EpiNow2       3     0.375        0
  887:  epiforecasts-EpiNow2       2     0.300        0
Code
  print(dat)
Message
  Forecast type:
  binary
  Forecast unit:
  location, location_name, target_end_date, target_type, forecast_date, model,
  and horizon
Output

       location location_name target_end_date target_type forecast_date
         <char>        <char>          <Date>      <char>        <Date>
    1:       DE       Germany      2021-05-08       Cases    2021-05-03
    2:       DE       Germany      2021-05-08       Cases    2021-05-03
    3:       DE       Germany      2021-05-08       Cases    2021-05-03
    4:       DE       Germany      2021-05-08      Deaths    2021-05-03
    5:       DE       Germany      2021-05-08      Deaths    2021-05-03
   ---                                                                 
  883:       IT         Italy      2021-07-24      Deaths    2021-07-12
  884:       IT         Italy      2021-07-24      Deaths    2021-07-05
  885:       IT         Italy      2021-07-24      Deaths    2021-07-12
  886:       IT         Italy      2021-07-24      Deaths    2021-07-05
  887:       IT         Italy      2021-07-24      Deaths    2021-07-12
                       model horizon predicted observed
                      <char>   <num>     <num>   <fctr>
    1: EuroCOVIDhub-ensemble       1     0.375        0
    2: EuroCOVIDhub-baseline       1     0.475        0
    3:  epiforecasts-EpiNow2       1     0.425        0
    4: EuroCOVIDhub-ensemble       1     0.425        0
    5: EuroCOVIDhub-baseline       1     0.500        1
   ---                                                 
  883: EuroCOVIDhub-baseline       2     0.250        0
  884:       UMass-MechBayes       3     0.475        0
  885:       UMass-MechBayes       2     0.450        0
  886:  epiforecasts-EpiNow2       3     0.375        0
  887:  epiforecasts-EpiNow2       2     0.300        0
Code
  print(dat)
Message
  Forecast type:
  binary
  Forecast unit:
  location, location_name, target_end_date, target_type, forecast_date, model,
  and horizon
Output

       location location_name target_end_date target_type forecast_date
         <char>        <char>          <Date>      <char>        <Date>
    1:       DE       Germany      2021-05-08       Cases    2021-05-03
    2:       DE       Germany      2021-05-08       Cases    2021-05-03
    3:       DE       Germany      2021-05-08       Cases    2021-05-03
    4:       DE       Germany      2021-05-08      Deaths    2021-05-03
    5:       DE       Germany      2021-05-08      Deaths    2021-05-03
   ---                                                                 
  883:       IT         Italy      2021-07-24      Deaths    2021-07-12
  884:       IT         Italy      2021-07-24      Deaths    2021-07-05
  885:       IT         Italy      2021-07-24      Deaths    2021-07-12
  886:       IT         Italy      2021-07-24      Deaths    2021-07-05
  887:       IT         Italy      2021-07-24      Deaths    2021-07-12
                       model horizon predicted observed
                      <char>   <num>     <num>   <fctr>
    1: EuroCOVIDhub-ensemble       1     0.375        0
    2: EuroCOVIDhub-baseline       1     0.475        0
    3:  epiforecasts-EpiNow2       1     0.425        0
    4: EuroCOVIDhub-ensemble       1     0.425        0
    5: EuroCOVIDhub-baseline       1     0.500        1
   ---                                                 
  883: EuroCOVIDhub-baseline       2     0.250        0
  884:       UMass-MechBayes       3     0.475        0
  885:       UMass-MechBayes       2     0.450        0
  886:  epiforecasts-EpiNow2       3     0.375        0
  887:  epiforecasts-EpiNow2       2     0.300        0
Code
  print(dat)
Message
  Forecast type:
  binary
  Forecast unit:
  location, location_name, target_end_date, target_type, forecast_date, model,
  and horizon
Output

       location location_name target_end_date target_type forecast_date
         <char>        <char>          <Date>      <char>        <Date>
    1:       DE       Germany      2021-05-08       Cases    2021-05-03
    2:       DE       Germany      2021-05-08       Cases    2021-05-03
    3:       DE       Germany      2021-05-08       Cases    2021-05-03
    4:       DE       Germany      2021-05-08      Deaths    2021-05-03
    5:       DE       Germany      2021-05-08      Deaths    2021-05-03
   ---                                                                 
  883:       IT         Italy      2021-07-24      Deaths    2021-07-12
  884:       IT         Italy      2021-07-24      Deaths    2021-07-05
  885:       IT         Italy      2021-07-24      Deaths    2021-07-12
  886:       IT         Italy      2021-07-24      Deaths    2021-07-05
  887:       IT         Italy      2021-07-24      Deaths    2021-07-12
                       model horizon predicted observed
                      <char>   <num>     <num>   <fctr>
    1: EuroCOVIDhub-ensemble       1     0.375        0
    2: EuroCOVIDhub-baseline       1     0.475        0
    3:  epiforecasts-EpiNow2       1     0.425        0
    4: EuroCOVIDhub-ensemble       1     0.425        0
    5: EuroCOVIDhub-baseline       1     0.500        1
   ---                                                 
  883: EuroCOVIDhub-baseline       2     0.250        0
  884:       UMass-MechBayes       3     0.475        0
  885:       UMass-MechBayes       2     0.450        0
  886:  epiforecasts-EpiNow2       3     0.375        0
  887:  epiforecasts-EpiNow2       2     0.300        0
Code
  print(dat)
Message
  Forecast type:
  quantile
  Forecast unit:
  location, target_end_date, target_type, location_name, forecast_date, model,
  and horizon
Output

  Key: <location, target_end_date, target_type>
         location target_end_date target_type observed location_name
           <char>          <Date>      <char>    <num>        <char>
      1:       DE      2021-05-08       Cases   106987       Germany
      2:       DE      2021-05-08       Cases   106987       Germany
      3:       DE      2021-05-08       Cases   106987       Germany
      4:       DE      2021-05-08       Cases   106987       Germany
      5:       DE      2021-05-08       Cases   106987       Germany
     ---                                                            
  20397:       IT      2021-07-24      Deaths       78         Italy
  20398:       IT      2021-07-24      Deaths       78         Italy
  20399:       IT      2021-07-24      Deaths       78         Italy
  20400:       IT      2021-07-24      Deaths       78         Italy
  20401:       IT      2021-07-24      Deaths       78         Italy
         forecast_date quantile_level predicted                 model horizon
                <Date>          <num>     <int>                <char>   <num>
      1:    2021-05-03          0.010     82466 EuroCOVIDhub-ensemble       1
      2:    2021-05-03          0.025     86669 EuroCOVIDhub-ensemble       1
      3:    2021-05-03          0.050     90285 EuroCOVIDhub-ensemble       1
      4:    2021-05-03          0.100     95341 EuroCOVIDhub-ensemble       1
      5:    2021-05-03          0.150     99171 EuroCOVIDhub-ensemble       1
     ---                                                                     
  20397:    2021-07-12          0.850       352  epiforecasts-EpiNow2       2
  20398:    2021-07-12          0.900       397  epiforecasts-EpiNow2       2
  20399:    2021-07-12          0.950       499  epiforecasts-EpiNow2       2
  20400:    2021-07-12          0.975       611  epiforecasts-EpiNow2       2
  20401:    2021-07-12          0.990       719  epiforecasts-EpiNow2       2
Code
  print(dat)
Message
  Forecast type:
  quantile
  Forecast unit:
  location, target_end_date, target_type, location_name, forecast_date, model,
  and horizon
Output

  Key: <location, target_end_date, target_type>
         location target_end_date target_type observed location_name
           <char>          <Date>      <char>    <num>        <char>
      1:       DE      2021-05-08       Cases   106987       Germany
      2:       DE      2021-05-08       Cases   106987       Germany
      3:       DE      2021-05-08       Cases   106987       Germany
      4:       DE      2021-05-08       Cases   106987       Germany
      5:       DE      2021-05-08       Cases   106987       Germany
     ---                                                            
  20397:       IT      2021-07-24      Deaths       78         Italy
  20398:       IT      2021-07-24      Deaths       78         Italy
  20399:       IT      2021-07-24      Deaths       78         Italy
  20400:       IT      2021-07-24      Deaths       78         Italy
  20401:       IT      2021-07-24      Deaths       78         Italy
         forecast_date quantile_level predicted                 model horizon
                <Date>          <num>     <int>                <char>   <num>
      1:    2021-05-03          0.010     82466 EuroCOVIDhub-ensemble       1
      2:    2021-05-03          0.025     86669 EuroCOVIDhub-ensemble       1
      3:    2021-05-03          0.050     90285 EuroCOVIDhub-ensemble       1
      4:    2021-05-03          0.100     95341 EuroCOVIDhub-ensemble       1
      5:    2021-05-03          0.150     99171 EuroCOVIDhub-ensemble       1
     ---                                                                     
  20397:    2021-07-12          0.850       352  epiforecasts-EpiNow2       2
  20398:    2021-07-12          0.900       397  epiforecasts-EpiNow2       2
  20399:    2021-07-12          0.950       499  epiforecasts-EpiNow2       2
  20400:    2021-07-12          0.975       611  epiforecasts-EpiNow2       2
  20401:    2021-07-12          0.990       719  epiforecasts-EpiNow2       2
Code
  print(dat)
Message
  Forecast type:
  quantile
  Forecast unit:
  location, target_end_date, target_type, location_name, forecast_date, model,
  and horizon
Output

  Key: <location, target_end_date, target_type>
         location target_end_date target_type observed location_name
           <char>          <Date>      <char>    <num>        <char>
      1:       DE      2021-05-08       Cases   106987       Germany
      2:       DE      2021-05-08       Cases   106987       Germany
      3:       DE      2021-05-08       Cases   106987       Germany
      4:       DE      2021-05-08       Cases   106987       Germany
      5:       DE      2021-05-08       Cases   106987       Germany
     ---                                                            
  20397:       IT      2021-07-24      Deaths       78         Italy
  20398:       IT      2021-07-24      Deaths       78         Italy
  20399:       IT      2021-07-24      Deaths       78         Italy
  20400:       IT      2021-07-24      Deaths       78         Italy
  20401:       IT      2021-07-24      Deaths       78         Italy
         forecast_date quantile_level predicted                 model horizon
                <Date>          <num>     <int>                <char>   <num>
      1:    2021-05-03          0.010     82466 EuroCOVIDhub-ensemble       1
      2:    2021-05-03          0.025     86669 EuroCOVIDhub-ensemble       1
      3:    2021-05-03          0.050     90285 EuroCOVIDhub-ensemble       1
      4:    2021-05-03          0.100     95341 EuroCOVIDhub-ensemble       1
      5:    2021-05-03          0.150     99171 EuroCOVIDhub-ensemble       1
     ---                                                                     
  20397:    2021-07-12          0.850       352  epiforecasts-EpiNow2       2
  20398:    2021-07-12          0.900       397  epiforecasts-EpiNow2       2
  20399:    2021-07-12          0.950       499  epiforecasts-EpiNow2       2
  20400:    2021-07-12          0.975       611  epiforecasts-EpiNow2       2
  20401:    2021-07-12          0.990       719  epiforecasts-EpiNow2       2
Code
  print(dat)
Message
  Forecast type:
  quantile
  Forecast unit:
  location, target_end_date, target_type, location_name, forecast_date, model,
  and horizon
Output

  Key: <location, target_end_date, target_type>
         location target_end_date target_type observed location_name
           <char>          <Date>      <char>    <num>        <char>
      1:       DE      2021-05-08       Cases   106987       Germany
      2:       DE      2021-05-08       Cases   106987       Germany
      3:       DE      2021-05-08       Cases   106987       Germany
      4:       DE      2021-05-08       Cases   106987       Germany
      5:       DE      2021-05-08       Cases   106987       Germany
     ---                                                            
  20397:       IT      2021-07-24      Deaths       78         Italy
  20398:       IT      2021-07-24      Deaths       78         Italy
  20399:       IT      2021-07-24      Deaths       78         Italy
  20400:       IT      2021-07-24      Deaths       78         Italy
  20401:       IT      2021-07-24      Deaths       78         Italy
         forecast_date quantile_level predicted                 model horizon
                <Date>          <num>     <int>                <char>   <num>
      1:    2021-05-03          0.010     82466 EuroCOVIDhub-ensemble       1
      2:    2021-05-03          0.025     86669 EuroCOVIDhub-ensemble       1
      3:    2021-05-03          0.050     90285 EuroCOVIDhub-ensemble       1
      4:    2021-05-03          0.100     95341 EuroCOVIDhub-ensemble       1
      5:    2021-05-03          0.150     99171 EuroCOVIDhub-ensemble       1
     ---                                                                     
  20397:    2021-07-12          0.850       352  epiforecasts-EpiNow2       2
  20398:    2021-07-12          0.900       397  epiforecasts-EpiNow2       2
  20399:    2021-07-12          0.950       499  epiforecasts-EpiNow2       2
  20400:    2021-07-12          0.975       611  epiforecasts-EpiNow2       2
  20401:    2021-07-12          0.990       719  epiforecasts-EpiNow2       2
Code
  print(dat)
Message
  Forecast type:
  point
  Forecast unit:
  location, target_end_date, target_type, location_name, forecast_date, model,
  and horizon
Output

  Key: <location, target_end_date, target_type>
       location target_end_date target_type observed location_name forecast_date
         <char>          <Date>      <char>    <num>        <char>        <Date>
    1:       DE      2021-05-08       Cases   106987       Germany    2021-05-03
    2:       DE      2021-05-08       Cases   106987       Germany    2021-05-03
    3:       DE      2021-05-08       Cases   106987       Germany    2021-05-03
    4:       DE      2021-05-08      Deaths     1582       Germany    2021-05-03
    5:       DE      2021-05-08      Deaths     1582       Germany    2021-05-03
   ---                                                                          
  883:       IT      2021-07-24      Deaths       78         Italy    2021-07-12
  884:       IT      2021-07-24      Deaths       78         Italy    2021-07-05
  885:       IT      2021-07-24      Deaths       78         Italy    2021-07-12
  886:       IT      2021-07-24      Deaths       78         Italy    2021-07-05
  887:       IT      2021-07-24      Deaths       78         Italy    2021-07-12
       predicted                 model horizon
           <int>                <char>   <num>
    1:    119258 EuroCOVIDhub-ensemble       1
    2:    132607 EuroCOVIDhub-baseline       1
    3:    151179  epiforecasts-EpiNow2       1
    4:      1568 EuroCOVIDhub-ensemble       1
    5:      1597 EuroCOVIDhub-baseline       1
   ---                                        
  883:       131 EuroCOVIDhub-baseline       2
  884:        79       UMass-MechBayes       3
  885:       124       UMass-MechBayes       2
  886:       104  epiforecasts-EpiNow2       3
  887:       186  epiforecasts-EpiNow2       2
Code
  print(dat)
Message
  Forecast type:
  point
  Forecast unit:
  location, target_end_date, target_type, location_name, forecast_date, model,
  and horizon
Output

  Key: <location, target_end_date, target_type>
       location target_end_date target_type observed location_name forecast_date
         <char>          <Date>      <char>    <num>        <char>        <Date>
    1:       DE      2021-05-08       Cases   106987       Germany    2021-05-03
    2:       DE      2021-05-08       Cases   106987       Germany    2021-05-03
    3:       DE      2021-05-08       Cases   106987       Germany    2021-05-03
    4:       DE      2021-05-08      Deaths     1582       Germany    2021-05-03
    5:       DE      2021-05-08      Deaths     1582       Germany    2021-05-03
   ---                                                                          
  883:       IT      2021-07-24      Deaths       78         Italy    2021-07-12
  884:       IT      2021-07-24      Deaths       78         Italy    2021-07-05
  885:       IT      2021-07-24      Deaths       78         Italy    2021-07-12
  886:       IT      2021-07-24      Deaths       78         Italy    2021-07-05
  887:       IT      2021-07-24      Deaths       78         Italy    2021-07-12
       predicted                 model horizon
           <int>                <char>   <num>
    1:    119258 EuroCOVIDhub-ensemble       1
    2:    132607 EuroCOVIDhub-baseline       1
    3:    151179  epiforecasts-EpiNow2       1
    4:      1568 EuroCOVIDhub-ensemble       1
    5:      1597 EuroCOVIDhub-baseline       1
   ---                                        
  883:       131 EuroCOVIDhub-baseline       2
  884:        79       UMass-MechBayes       3
  885:       124       UMass-MechBayes       2
  886:       104  epiforecasts-EpiNow2       3
  887:       186  epiforecasts-EpiNow2       2
Code
  print(dat)
Message
  Forecast type:
  point
  Forecast unit:
  location, target_end_date, target_type, location_name, forecast_date, model,
  and horizon
Output

  Key: <location, target_end_date, target_type>
       location target_end_date target_type observed location_name forecast_date
         <char>          <Date>      <char>    <num>        <char>        <Date>
    1:       DE      2021-05-08       Cases   106987       Germany    2021-05-03
    2:       DE      2021-05-08       Cases   106987       Germany    2021-05-03
    3:       DE      2021-05-08       Cases   106987       Germany    2021-05-03
    4:       DE      2021-05-08      Deaths     1582       Germany    2021-05-03
    5:       DE      2021-05-08      Deaths     1582       Germany    2021-05-03
   ---                                                                          
  883:       IT      2021-07-24      Deaths       78         Italy    2021-07-12
  884:       IT      2021-07-24      Deaths       78         Italy    2021-07-05
  885:       IT      2021-07-24      Deaths       78         Italy    2021-07-12
  886:       IT      2021-07-24      Deaths       78         Italy    2021-07-05
  887:       IT      2021-07-24      Deaths       78         Italy    2021-07-12
       predicted                 model horizon
           <int>                <char>   <num>
    1:    119258 EuroCOVIDhub-ensemble       1
    2:    132607 EuroCOVIDhub-baseline       1
    3:    151179  epiforecasts-EpiNow2       1
    4:      1568 EuroCOVIDhub-ensemble       1
    5:      1597 EuroCOVIDhub-baseline       1
   ---                                        
  883:       131 EuroCOVIDhub-baseline       2
  884:        79       UMass-MechBayes       3
  885:       124       UMass-MechBayes       2
  886:       104  epiforecasts-EpiNow2       3
  887:       186  epiforecasts-EpiNow2       2
Code
  print(dat)
Message
  Forecast type:
  point
  Forecast unit:
  location, target_end_date, target_type, location_name, forecast_date, model,
  and horizon
Output

  Key: <location, target_end_date, target_type>
       location target_end_date target_type observed location_name forecast_date
         <char>          <Date>      <char>    <num>        <char>        <Date>
    1:       DE      2021-05-08       Cases   106987       Germany    2021-05-03
    2:       DE      2021-05-08       Cases   106987       Germany    2021-05-03
    3:       DE      2021-05-08       Cases   106987       Germany    2021-05-03
    4:       DE      2021-05-08      Deaths     1582       Germany    2021-05-03
    5:       DE      2021-05-08      Deaths     1582       Germany    2021-05-03
   ---                                                                          
  883:       IT      2021-07-24      Deaths       78         Italy    2021-07-12
  884:       IT      2021-07-24      Deaths       78         Italy    2021-07-05
  885:       IT      2021-07-24      Deaths       78         Italy    2021-07-12
  886:       IT      2021-07-24      Deaths       78         Italy    2021-07-05
  887:       IT      2021-07-24      Deaths       78         Italy    2021-07-12
       predicted                 model horizon
           <int>                <char>   <num>
    1:    119258 EuroCOVIDhub-ensemble       1
    2:    132607 EuroCOVIDhub-baseline       1
    3:    151179  epiforecasts-EpiNow2       1
    4:      1568 EuroCOVIDhub-ensemble       1
    5:      1597 EuroCOVIDhub-baseline       1
   ---                                        
  883:       131 EuroCOVIDhub-baseline       2
  884:        79       UMass-MechBayes       3
  885:       124       UMass-MechBayes       2
  886:       104  epiforecasts-EpiNow2       3
  887:       186  epiforecasts-EpiNow2       2
Code
  print(dat)
Message
  Forecast type:
  sample
  Forecast unit:
  location, location_name, target_end_date, target_type, forecast_date, model,
  and horizon
Output

         location location_name target_end_date target_type forecast_date
           <char>        <char>          <Date>      <char>        <Date>
      1:       DE       Germany      2021-05-08       Cases    2021-05-03
      2:       DE       Germany      2021-05-08       Cases    2021-05-03
      3:       DE       Germany      2021-05-08       Cases    2021-05-03
      4:       DE       Germany      2021-05-08       Cases    2021-05-03
      5:       DE       Germany      2021-05-08       Cases    2021-05-03
     ---                                                                 
  35476:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35477:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35478:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35479:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35480:       IT         Italy      2021-07-24      Deaths    2021-07-12
                         model horizon    predicted sample_id observed
                        <char>   <num>        <num>     <int>    <num>
      1: EuroCOVIDhub-ensemble       1 102672.00034         1   106987
      2: EuroCOVIDhub-ensemble       1 164763.08492         2   106987
      3: EuroCOVIDhub-ensemble       1 153042.63536         3   106987
      4: EuroCOVIDhub-ensemble       1 119544.25389         4   106987
      5: EuroCOVIDhub-ensemble       1  81230.71875         5   106987
     ---                                                              
  35476:  epiforecasts-EpiNow2       2    159.84534        36       78
  35477:  epiforecasts-EpiNow2       2    128.21214        37       78
  35478:  epiforecasts-EpiNow2       2    190.52560        38       78
  35479:  epiforecasts-EpiNow2       2    141.06659        39       78
  35480:  epiforecasts-EpiNow2       2     24.43419        40       78
Code
  print(dat)
Message
  Forecast type:
  sample
  Forecast unit:
  location, location_name, target_end_date, target_type, forecast_date, model,
  and horizon
Output

         location location_name target_end_date target_type forecast_date
           <char>        <char>          <Date>      <char>        <Date>
      1:       DE       Germany      2021-05-08       Cases    2021-05-03
      2:       DE       Germany      2021-05-08       Cases    2021-05-03
      3:       DE       Germany      2021-05-08       Cases    2021-05-03
      4:       DE       Germany      2021-05-08       Cases    2021-05-03
      5:       DE       Germany      2021-05-08       Cases    2021-05-03
     ---                                                                 
  35476:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35477:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35478:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35479:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35480:       IT         Italy      2021-07-24      Deaths    2021-07-12
                         model horizon    predicted sample_id observed
                        <char>   <num>        <num>     <int>    <num>
      1: EuroCOVIDhub-ensemble       1 102672.00034         1   106987
      2: EuroCOVIDhub-ensemble       1 164763.08492         2   106987
      3: EuroCOVIDhub-ensemble       1 153042.63536         3   106987
      4: EuroCOVIDhub-ensemble       1 119544.25389         4   106987
      5: EuroCOVIDhub-ensemble       1  81230.71875         5   106987
     ---                                                              
  35476:  epiforecasts-EpiNow2       2    159.84534        36       78
  35477:  epiforecasts-EpiNow2       2    128.21214        37       78
  35478:  epiforecasts-EpiNow2       2    190.52560        38       78
  35479:  epiforecasts-EpiNow2       2    141.06659        39       78
  35480:  epiforecasts-EpiNow2       2     24.43419        40       78
Code
  print(dat)
Message
  Forecast type:
  sample
  Forecast unit:
  location, location_name, target_end_date, target_type, forecast_date, model,
  and horizon
Output

         location location_name target_end_date target_type forecast_date
           <char>        <char>          <Date>      <char>        <Date>
      1:       DE       Germany      2021-05-08       Cases    2021-05-03
      2:       DE       Germany      2021-05-08       Cases    2021-05-03
      3:       DE       Germany      2021-05-08       Cases    2021-05-03
      4:       DE       Germany      2021-05-08       Cases    2021-05-03
      5:       DE       Germany      2021-05-08       Cases    2021-05-03
     ---                                                                 
  35476:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35477:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35478:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35479:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35480:       IT         Italy      2021-07-24      Deaths    2021-07-12
                         model horizon    predicted sample_id observed
                        <char>   <num>        <num>     <int>    <num>
      1: EuroCOVIDhub-ensemble       1 102672.00034         1   106987
      2: EuroCOVIDhub-ensemble       1 164763.08492         2   106987
      3: EuroCOVIDhub-ensemble       1 153042.63536         3   106987
      4: EuroCOVIDhub-ensemble       1 119544.25389         4   106987
      5: EuroCOVIDhub-ensemble       1  81230.71875         5   106987
     ---                                                              
  35476:  epiforecasts-EpiNow2       2    159.84534        36       78
  35477:  epiforecasts-EpiNow2       2    128.21214        37       78
  35478:  epiforecasts-EpiNow2       2    190.52560        38       78
  35479:  epiforecasts-EpiNow2       2    141.06659        39       78
  35480:  epiforecasts-EpiNow2       2     24.43419        40       78
Code
  print(dat)
Message
  Forecast type:
  sample
  Forecast unit:
  location, location_name, target_end_date, target_type, forecast_date, model,
  and horizon
Output

         location location_name target_end_date target_type forecast_date
           <char>        <char>          <Date>      <char>        <Date>
      1:       DE       Germany      2021-05-08       Cases    2021-05-03
      2:       DE       Germany      2021-05-08       Cases    2021-05-03
      3:       DE       Germany      2021-05-08       Cases    2021-05-03
      4:       DE       Germany      2021-05-08       Cases    2021-05-03
      5:       DE       Germany      2021-05-08       Cases    2021-05-03
     ---                                                                 
  35476:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35477:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35478:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35479:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35480:       IT         Italy      2021-07-24      Deaths    2021-07-12
                         model horizon    predicted sample_id observed
                        <char>   <num>        <num>     <int>    <num>
      1: EuroCOVIDhub-ensemble       1 102672.00034         1   106987
      2: EuroCOVIDhub-ensemble       1 164763.08492         2   106987
      3: EuroCOVIDhub-ensemble       1 153042.63536         3   106987
      4: EuroCOVIDhub-ensemble       1 119544.25389         4   106987
      5: EuroCOVIDhub-ensemble       1  81230.71875         5   106987
     ---                                                              
  35476:  epiforecasts-EpiNow2       2    159.84534        36       78
  35477:  epiforecasts-EpiNow2       2    128.21214        37       78
  35478:  epiforecasts-EpiNow2       2    190.52560        38       78
  35479:  epiforecasts-EpiNow2       2    141.06659        39       78
  35480:  epiforecasts-EpiNow2       2     24.43419        40       78
Code
  print(dat)
Message
  Forecast type:
  sample
  Forecast unit:
  location, location_name, target_end_date, target_type, forecast_date, model,
  and horizon
Output

         location location_name target_end_date target_type forecast_date
           <char>        <char>          <Date>      <char>        <Date>
      1:       DE       Germany      2021-05-08       Cases    2021-05-03
      2:       DE       Germany      2021-05-08       Cases    2021-05-03
      3:       DE       Germany      2021-05-08       Cases    2021-05-03
      4:       DE       Germany      2021-05-08       Cases    2021-05-03
      5:       DE       Germany      2021-05-08       Cases    2021-05-03
     ---                                                                 
  35476:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35477:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35478:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35479:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35480:       IT         Italy      2021-07-24      Deaths    2021-07-12
                         model horizon predicted sample_id observed
                        <char>   <num>     <num>     <int>    <num>
      1: EuroCOVIDhub-ensemble       1    102672         1   106987
      2: EuroCOVIDhub-ensemble       1    164763         2   106987
      3: EuroCOVIDhub-ensemble       1    153043         3   106987
      4: EuroCOVIDhub-ensemble       1    119544         4   106987
      5: EuroCOVIDhub-ensemble       1     81231         5   106987
     ---                                                           
  35476:  epiforecasts-EpiNow2       2       160        36       78
  35477:  epiforecasts-EpiNow2       2       128        37       78
  35478:  epiforecasts-EpiNow2       2       191        38       78
  35479:  epiforecasts-EpiNow2       2       141        39       78
  35480:  epiforecasts-EpiNow2       2        24        40       78
Code
  print(dat)
Message
  Forecast type:
  sample
  Forecast unit:
  location, location_name, target_end_date, target_type, forecast_date, model,
  and horizon
Output

         location location_name target_end_date target_type forecast_date
           <char>        <char>          <Date>      <char>        <Date>
      1:       DE       Germany      2021-05-08       Cases    2021-05-03
      2:       DE       Germany      2021-05-08       Cases    2021-05-03
      3:       DE       Germany      2021-05-08       Cases    2021-05-03
      4:       DE       Germany      2021-05-08       Cases    2021-05-03
      5:       DE       Germany      2021-05-08       Cases    2021-05-03
     ---                                                                 
  35476:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35477:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35478:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35479:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35480:       IT         Italy      2021-07-24      Deaths    2021-07-12
                         model horizon predicted sample_id observed
                        <char>   <num>     <num>     <int>    <num>
      1: EuroCOVIDhub-ensemble       1    102672         1   106987
      2: EuroCOVIDhub-ensemble       1    164763         2   106987
      3: EuroCOVIDhub-ensemble       1    153043         3   106987
      4: EuroCOVIDhub-ensemble       1    119544         4   106987
      5: EuroCOVIDhub-ensemble       1     81231         5   106987
     ---                                                           
  35476:  epiforecasts-EpiNow2       2       160        36       78
  35477:  epiforecasts-EpiNow2       2       128        37       78
  35478:  epiforecasts-EpiNow2       2       191        38       78
  35479:  epiforecasts-EpiNow2       2       141        39       78
  35480:  epiforecasts-EpiNow2       2        24        40       78
Code
  print(dat)
Message
  Forecast type:
  sample
  Forecast unit:
  location, location_name, target_end_date, target_type, forecast_date, model,
  and horizon
Output

         location location_name target_end_date target_type forecast_date
           <char>        <char>          <Date>      <char>        <Date>
      1:       DE       Germany      2021-05-08       Cases    2021-05-03
      2:       DE       Germany      2021-05-08       Cases    2021-05-03
      3:       DE       Germany      2021-05-08       Cases    2021-05-03
      4:       DE       Germany      2021-05-08       Cases    2021-05-03
      5:       DE       Germany      2021-05-08       Cases    2021-05-03
     ---                                                                 
  35476:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35477:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35478:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35479:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35480:       IT         Italy      2021-07-24      Deaths    2021-07-12
                         model horizon predicted sample_id observed
                        <char>   <num>     <num>     <int>    <num>
      1: EuroCOVIDhub-ensemble       1    102672         1   106987
      2: EuroCOVIDhub-ensemble       1    164763         2   106987
      3: EuroCOVIDhub-ensemble       1    153043         3   106987
      4: EuroCOVIDhub-ensemble       1    119544         4   106987
      5: EuroCOVIDhub-ensemble       1     81231         5   106987
     ---                                                           
  35476:  epiforecasts-EpiNow2       2       160        36       78
  35477:  epiforecasts-EpiNow2       2       128        37       78
  35478:  epiforecasts-EpiNow2       2       191        38       78
  35479:  epiforecasts-EpiNow2       2       141        39       78
  35480:  epiforecasts-EpiNow2       2        24        40       78
Code
  print(dat)
Message
  Forecast type:
  sample
  Forecast unit:
  location, location_name, target_end_date, target_type, forecast_date, model,
  and horizon
Output

         location location_name target_end_date target_type forecast_date
           <char>        <char>          <Date>      <char>        <Date>
      1:       DE       Germany      2021-05-08       Cases    2021-05-03
      2:       DE       Germany      2021-05-08       Cases    2021-05-03
      3:       DE       Germany      2021-05-08       Cases    2021-05-03
      4:       DE       Germany      2021-05-08       Cases    2021-05-03
      5:       DE       Germany      2021-05-08       Cases    2021-05-03
     ---                                                                 
  35476:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35477:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35478:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35479:       IT         Italy      2021-07-24      Deaths    2021-07-12
  35480:       IT         Italy      2021-07-24      Deaths    2021-07-12
                         model horizon predicted sample_id observed
                        <char>   <num>     <num>     <int>    <num>
      1: EuroCOVIDhub-ensemble       1    102672         1   106987
      2: EuroCOVIDhub-ensemble       1    164763         2   106987
      3: EuroCOVIDhub-ensemble       1    153043         3   106987
      4: EuroCOVIDhub-ensemble       1    119544         4   106987
      5: EuroCOVIDhub-ensemble       1     81231         5   106987
     ---                                                           
  35476:  epiforecasts-EpiNow2       2       160        36       78
  35477:  epiforecasts-EpiNow2       2       128        37       78
  35478:  epiforecasts-EpiNow2       2       191        38       78
  35479:  epiforecasts-EpiNow2       2       141        39       78
  35480:  epiforecasts-EpiNow2       2        24        40       78


epiforecasts/scoringutils documentation built on April 23, 2024, 4:56 p.m.