Skip to content

averissimo/covid19.pt.data

Repository files navigation

COVID-19 Portugal data

R package with latest data scrapped from official sources (last data from Sunday, March 13, 2022)

It downloads the daily report from DGS and stores this in data-friendly format under /data directory. It also retrieves age data from the DGS’ ESRI dashboard

If you are here just for the data, this is what you want:

note: The EU CDC data has been removed as the daily reports from EU have been discontinued in favor of weekly counts.

A mortality analysis of Portugal is available here

Check for new reports

download.updated.pt()

Data for Portugal

Last 5 days (how each column is changing over these days)

date confirmed deaths recovered hospitalized in.icu first vaccine second vaccine confirmed m 00-09 confirmed w 00-09 confirmed m 10-19 confirmed w 10-19 confirmed m 20-29 confirmed w 20-29 confirmed m 30-39 confirmed w 30-39 confirmed m 40-49 confirmed w 40-49 confirmed m 50-59 confirmed w 50-59 confirmed m 60-69 confirmed w 60-69 confirmed m 70-79 confirmed w 70-79 confirmed m 80+ confirmed w 80+ death m 00-09 death w 00-09 death m 10-19 death w 10-19 death m 20-29 death w 20-29 death m 30-39 death w 30-39 death m 40-49 death w 40-49 death m 50-59 death w 50-59 death m 60-69 death w 60-69 death m 70-79 death w 70-79 death m 80+ death w 80+ contacts
2022-03-13 20426 39 0 -16 1 NA NA 734 666 1563 1668 1207 1503 1095 1619 1298 2110 1106 1658 784 1058 607 684 374 680 0 0 0 0 0 0 0 0 0 1 0 0 3 1 9 3 10 12 -76533
2022-03-11 12324 18 2883006 -16 -5 NA NA 436 384 965 1080 813 1036 693 980 794 1285 647 922 423 600 327 367 210 354 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 7 6 -12033
2022-03-10 12794 18 2876177 -47 -2 NA NA 394 393 1166 1222 918 1033 721 951 845 1310 632 960 432 536 331 376 200 359 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 8 6 -2570
2022-03-09 14595 19 2867858 -51 -6 NA NA 496 473 1422 1593 1011 1310 781 1075 923 1345 687 1023 463 586 351 391 238 414 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 4 12 -2966
2022-03-08 15068 32 2856458 -25 -3 NA NA 435 478 1534 1708 989 1207 755 1014 946 1548 704 1074 498 677 391 439 258 393 0 0 0 0 0 0 0 0 0 0 3 0 4 0 3 2 10 10 -4198

New cases / deaths by age groups

Age data may show different numbers from absolutes in the daily report. This is out of our control and dependent on the data source (DGS covid19 dashboard).

All cases / deaths by age groups

Age data may show different numbers from absolutes in the daily report. This is out of our control and dependent on the data source (DGS covid19 dashboard).

Data

Data from DGS

Only showing last 20 days

date confirmed deaths recovered hospitalized in.icu confirmed m 00-09 confirmed w 00-09 confirmed m 10-19 confirmed w 10-19 confirmed m 20-29 confirmed w 20-29 confirmed m 30-39 confirmed w 30-39 confirmed m 40-49 confirmed w 40-49 confirmed m 50-59 confirmed w 50-59 confirmed m 60-69 confirmed w 60-69 confirmed m 70-79 confirmed w 70-79 confirmed m 80+ confirmed w 80+ death m 00-09 death w 00-09 death m 10-19 death w 10-19 death m 20-29 death w 20-29 death m 30-39 death w 30-39 death m 40-49 death w 40-49 death m 50-59 death w 50-59 death m 60-69 death w 60-69 death m 70-79 death w 70-79 death m 80+ death w 80+ first vaccine second vaccine contacts
2022-03-13 3413013 21342 0 1095 66 178771 170788 235623 236952 250461 272779 243055 290794 260807 328665 181138 224298 115797 133852 70283 80020 47474 88436 2 1 1 2 11 8 34 22 138 86 444 190 1337 612 2871 1745 6387 7451 NA NA 0
2022-03-11 3392587 21303 2883006 1111 65 178037 170122 234060 235284 249254 271276 241960 289175 259509 326555 180032 222640 115013 132794 69676 79336 47100 87756 2 1 1 2 11 8 34 22 138 85 444 190 1334 611 2862 1742 6377 7439 NA NA 76533
2022-03-10 3380263 21285 2876177 1127 70 177601 169738 233095 234204 248441 270240 241267 288195 258715 325270 179385 221718 114590 132194 69349 78969 46890 87402 2 1 1 2 11 8 34 22 138 85 444 189 1333 610 2861 1741 6370 7433 NA NA 88566
2022-03-09 3367469 21267 2867858 1174 72 177207 169345 231929 232982 247523 269207 240546 287244 257870 323960 178753 220758 114158 131658 69018 78593 46690 87043 2 1 1 2 11 8 34 22 138 85 444 189 1333 610 2859 1739 6362 7427 NA NA 91136
2022-03-08 3352874 21248 2856458 1225 78 176711 168872 230507 231389 246512 267897 239765 286169 256947 322615 178066 219735 113695 131072 68667 78202 46452 86629 2 1 1 2 11 8 34 22 138 85 443 189 1332 610 2859 1738 6358 7415 NA NA 94102
2022-03-07 3337806 21216 2843809 1250 81 176276 168394 228973 229681 245523 266690 239010 285155 256001 321067 177362 218661 113197 130395 68276 77763 46194 86236 2 1 1 2 11 8 34 22 138 85 440 189 1328 610 2856 1736 6348 7405 NA NA 98300
2022-03-06 3332200 21199 2832853 1208 82 176092 168179 228400 228961 245089 266182 238702 284736 255639 320489 177143 218318 113080 130235 68165 77626 46118 86100 2 1 1 2 11 8 34 22 138 85 440 189 1327 610 2856 1735 6343 7395 NA NA 0
2022-03-05 3322134 21182 2821650 1189 85 175785 167887 227281 227523 244334 265163 238187 284005 255005 319577 176753 217737 112819 129871 67980 77407 45990 85885 2 1 1 2 11 8 34 22 137 85 440 189 1326 609 2856 1734 6338 7387 NA NA 0
2022-03-04 3308438 21162 2805955 1267 84 175392 167508 225792 225507 243246 263690 237476 283097 254267 318435 176233 216980 112432 129398 67676 77062 45811 85508 2 1 1 2 11 8 34 22 137 85 439 189 1325 609 2852 1734 6332 7379 NA NA 113584
2022-03-03 3294691 21141 2799531 1300 90 174921 167030 224252 223440 242291 262378 236789 282142 253481 317191 175688 216208 112061 128919 67403 76747 45641 85180 2 1 1 2 11 8 34 22 137 85 439 189 1323 609 2845 1732 6328 7373 NA NA 131854
2022-03-02 3282457 21111 2787805 1400 90 174461 166577 223033 221991 241477 261352 236130 281200 252679 316096 175219 215484 111699 128416 67084 76418 45420 84805 2 1 1 2 11 8 34 22 137 85 439 188 1323 608 2843 1727 6319 7361 NA NA 157575
2022-03-01 3273624 21086 2787126 1358 96 174019 166160 222221 221023 240884 260569 235638 280520 252111 315300 174828 214939 111445 128099 66911 76200 45266 84580 2 1 1 2 11 8 34 22 137 85 438 188 1322 608 2835 1726 6311 7355 NA NA 158426
2022-02-28 3262618 21063 2785374 1478 102 173555 165697 221287 220009 240272 259773 235118 279746 251433 314286 174292 214151 111056 127566 66554 75816 44990 84115 2 1 1 2 11 8 33 22 137 85 438 188 1321 606 2832 1726 6305 7345 NA NA 159091
2022-02-27 3258409 21039 2784612 1396 102 173314 165473 220927 219661 240040 259435 234876 279439 251175 313881 174094 213882 110916 127392 66430 75700 44898 83978 2 1 1 2 11 8 33 22 137 85 438 187 1321 606 2827 1724 6298 7336 NA NA 159499
2022-02-26 3251302 21001 2784000 1378 101 172910 165091 220305 219014 239654 258926 234469 278902 250701 313186 173785 213421 110670 127053 66250 75508 44794 83775 2 1 1 2 11 8 33 22 137 85 437 187 1320 605 2821 1719 6286 7324 NA NA 426472
2022-02-24 3231075 20941 2741600 1560 106 171921 164141 218489 217207 238335 257259 233307 277356 249501 311409 172881 212108 109918 126179 65730 74894 44438 83130 2 1 1 2 11 8 33 22 137 85 437 187 1320 603 2809 1717 6261 7305 NA NA 448694
2022-02-23 3219439 20922 2732009 1646 101 171366 163603 217439 216043 237599 256316 232667 276356 248731 310335 172416 211436 109556 125690 65452 74557 44240 82773 2 1 1 2 11 8 33 22 137 85 435 187 1320 601 2808 1716 6255 7298 NA NA 459334
2022-02-22 3206281 20894 2717509 1763 111 170648 162895 216209 214732 236769 255215 231932 275353 247966 309190 171852 210652 109159 125159 65129 74175 44016 82379 2 1 1 2 11 8 33 22 137 85 434 187 1319 599 2805 1716 6249 7283 NA NA 474904
2022-02-21 3193178 20866 2696696 1832 114 169890 162242 215037 213525 236044 254327 231231 274400 247185 307998 171288 209785 108668 124551 64762 73743 43765 81893 2 1 1 2 11 8 33 22 136 85 433 187 1319 598 2800 1715 6243 7270 NA NA 489997
2022-02-20 3187389 20831 2676699 1788 116 169466 161897 214488 213004 235715 253900 230863 273940 246800 307484 171045 209413 108489 124326 64643 73627 43677 81770 2 1 1 2 11 8 33 22 134 85 432 186 1318 595 2797 1713 6234 7257 NA NA 505037

Future deaths prediction

Based on the daily new confirmed cases and current ‘mortality rate’ per age group (see plots above)

Only shows last 20 days

date confirmed predicted future deaths 00-09 men 00-09 women 10-19 men 10-19 women 20-29 men 20-29 women 30-39 men 30-39 women 40-49 men 40-49 women 50-59 men 50-59 women 60-69 men 60-69 women 70-79 men 70-79 women 80+ men 80+ women
2022-03-13 20 426 166.968 0.008 0.004 0.007 0.014 0.053 0.044 0.153 0.122 0.687 0.552 2.711 1.404 9.052 4.837 24.795 14.916 50.317 57.292
2022-03-11 12 324 90.447 0.005 0.002 0.004 0.009 0.036 0.030 0.097 0.074 0.420 0.336 1.586 0.781 4.884 2.743 13.358 8.003 28.253 29.826
2022-03-10 12 794 89.729 0.004 0.002 0.005 0.010 0.040 0.030 0.101 0.072 0.447 0.343 1.549 0.813 4.988 2.451 13.521 8.199 26.907 30.247
2022-03-09 14 595 101.482 0.006 0.003 0.006 0.013 0.044 0.038 0.109 0.081 0.488 0.352 1.684 0.867 5.346 2.679 14.338 8.527 32.020 34.881
2022-03-08 15 068 106.043 0.005 0.003 0.007 0.014 0.043 0.035 0.106 0.077 0.501 0.405 1.726 0.910 5.750 3.095 15.972 9.573 34.710 33.111
2022-03-07 5 606 32.579 0.002 0.001 0.002 0.006 0.019 0.015 0.043 0.032 0.192 0.151 0.537 0.291 1.351 0.732 4.534 2.988 10.225 11.458
2022-03-06 10 066 54.580 0.003 0.002 0.005 0.012 0.033 0.030 0.072 0.055 0.335 0.239 0.956 0.492 3.014 1.664 7.557 4.776 17.221 18.114
2022-03-05 13 696 85.310 0.004 0.002 0.006 0.017 0.048 0.043 0.099 0.069 0.390 0.299 1.275 0.641 4.468 2.163 12.418 7.523 24.082 31.763
2022-03-04 13 747 78.013 0.005 0.003 0.007 0.017 0.042 0.038 0.096 0.072 0.416 0.326 1.336 0.654 4.284 2.190 11.152 6.869 22.871 27.635
2022-03-03 12 234 90.742 0.005 0.003 0.005 0.012 0.036 0.030 0.092 0.071 0.424 0.287 1.150 0.613 4.180 2.300 13.031 7.175 29.733 31.595
2022-03-02 8 833 57.995 0.005 0.002 0.003 0.008 0.026 0.023 0.069 0.051 0.301 0.208 0.958 0.462 2.933 1.449 7.067 4.754 20.719 18.957
2022-03-01 11 006 109.004 0.005 0.003 0.004 0.009 0.027 0.023 0.073 0.059 0.359 0.265 1.314 0.668 4.491 2.437 14.583 8.374 37.132 39.178
2022-02-28 4 209 34.969 0.003 0.001 0.002 0.003 0.010 0.010 0.034 0.023 0.137 0.106 0.485 0.228 1.616 0.796 5.065 2.530 12.377 11.543
2022-02-27 7 107 48.751 0.005 0.002 0.003 0.005 0.017 0.015 0.057 0.041 0.251 0.182 0.757 0.391 2.840 1.550 7.353 4.187 13.992 17.103
2022-02-26 20 227 154.404 0.011 0.006 0.008 0.015 0.058 0.049 0.163 0.117 0.635 0.465 2.216 1.112 8.683 3.996 21.242 13.390 47.895 54.343
2022-02-24 11 636 84.483 0.006 0.003 0.004 0.010 0.032 0.028 0.090 0.076 0.407 0.281 1.140 0.569 4.180 2.236 11.356 7.349 26.638 30.078
2022-02-23 13 158 94.894 0.008 0.004 0.005 0.011 0.036 0.032 0.103 0.076 0.405 0.300 1.382 0.664 4.584 2.428 13.194 8.330 30.136 33.196
2022-02-22 13 103 110.674 0.008 0.004 0.005 0.010 0.032 0.026 0.098 0.072 0.413 0.312 1.382 0.734 5.669 2.780 14.992 9.421 33.769 40.947
2022-02-21 5 789 34.064 0.005 0.002 0.002 0.004 0.014 0.013 0.051 0.035 0.204 0.134 0.596 0.315 2.067 1.029 4.861 2.530 11.839 10.363
2022-02-20 9 360 66.352 0.006 0.003 0.004 0.007 0.024 0.021 0.074 0.056 0.331 0.235 0.907 0.479 3.071 1.769 9.395 5.932 21.795 22.243

About

R package that downloads and keeps Portugal's data on COVID-19

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages