Technical information
Data supporting the results presented on this page come from two sources. One is the series of reports published by CM in its website. Each of the reports (in Spanish) can be separately retrieved as https://www.comunidad.madrid/sites/default/files/doc/sanidad/YYMMDD_cam_covid19.pdf, where YYMMDD is to be replaced with the date of the report (year, month, and day). These reports have been published since May 13th, 2020, with occasional exceptions during some weekend days and legal holidays. Each report includes a complete table indicating the most current count of positive cases on each day between Feb 25th, 2020 and the day prior to publication of the report. The second source of data is an analogous series of reports published by CCAES in its website. Each of these reports (in Spanish) can also be separately retrieved as https://www.mscbs.gob.es/profesionales/saludPublica/ccayes/alertasActual/nCov/documentos/Actualizacion_###_COVID-19.pdf, where ### is to be replaced with the ordinal number of the report. These reports are published daily except during some weekend days and legal holidays. The raw data can be retrieved as .csv files here, although only the latest update is available at any given time. These .csv files include a complete table with the most current count of positive cases in each of the autonomous communities and autonomous cities of Spain on each day between Jan 18th, 2020 and the day prior to publication of the report.
Figures 1 and 2
These figures display data extracted from the reports published by CM. Missing bars at some dates reflect the absence of published reports on those dates.
Along the horizontal axis, the pink arrow marks the beginning of the de-escalation (May 4th, 2020) and the green arrow marks the end of the first state of alarm and the de-escalation (Jun 21st, 2020).
Figure 3
This figure displays data extracted from the reports published by CM. The daily totals used for computation of percentages are those in the most current CM report available on the date in which this page was last updated. The time span ranges from the date in which CM published its first report (May 13th, 2020) to 14 days prior to the date of the most current report. On some dates, the blue bar (percentage of cases acknowledged 14 days after their nominal date) exceeds 100% because removal of cases in later reports makes the most current total lower than it had been earlier.
Along the horizontal axis, the pink arrow marks the beginning of the de-escalation (May 4th, 2020) and the green arrow marks the end of the first state of alarm and the de-escalation (Jun 21st, 2020).
Figures 4, 5, and 6
These figures display data also extracted from the reports published by CM. The gray bar on the right marks the date of the report from which the data come. Data reported for each of the preceding dates reflect the difference between the count of positive cases attributed to the corresponding date in the report of concern and the count attributed to that date in the immediately preceding report. Positive differences (newly added cases) are represented with upward-going blue bars; negative differences (deleted cases) are represented with downward-going red bars.
Along the horizontal axis, the red arrow marks the beginning of the first state of alarm (March 14th, 2020), the pink arrow marks the beginning of the de-escalation (May 4th, 2020), and the green arrow marks the end of the first state of alarm and the de-escalation (Jun 21st, 2020).
Figure 7
This figure displays data extracted from the reports published by CM. On each date, the height of the bar indicates the difference between the count of cases acknowledged in the CM report published 60 days prior to the date in which this page was last updated and the count of cases in the most current report. Positive differences (added cases) are represented with upward-going blue bars and negative differences (deleted cases) are represented with downward-going red bars.
Along the horizontal axis, the red arrow marks the beginning of the first state of alarm (March 14th, 2020), the pink arrow marks the beginning of the de-escalation (May 4th, 2020), and the green arrow marks the end of the first state of alarm and the de-escalation (Jun 21st, 2020).
Figure 8
This figure displays calculations based on data also extracted from the reports published by CM. For each date along the horizontal axis, the 14-day notification rate per 100,000 population is computed by adding up positive cases attributed to each of the preceding 14 days, dividing the sum by population size, and multiplying the result by 100,000. The vertical line in the figure indicates the date (Apr 13th, 2021) at which population size for these computations switches from census data pertaining to Jan 1st, 2019 (6,663,394 inhabitants) to census data pertaining to Jan 1st, 2020 (6,779,888 inhabitants).
The blue curve shows results using the most current count of daily cases, as reported by CM on the date indicated in the legend. The red curve shows results using counts available in the report published by CM on the reference date of computation. For dates on which CM did not publish a report, discontinuities along the red curve have been inconsequentially removed by taking data from the first report published on a later date.
Along the horizontal axis, the red arrow marks the beginning of the first state of alarm (March 14th, 2020), the pink arrow marks the beginning of the de-escalation (May 4th, 2020), and the green arrow marks the end of the first state of alarm and the de-escalation (Jun 21st, 2020).
Figure 9
This figure displays data extracted from the reports published by CM and from the reports published by CCAES. The upper panel in the figure shows the total number of cases reported by each source up to the date of each published report. Discontinuities reflect the absence of reports published by one or the other source at the corresponding dates. The lower panel in the figure shows the difference, on a day-by-day basis, between the total count in the CM report and that in the CCAES report for the same date. Discontinuities reflect the absence of at least one of these reports on the corresponding dates. Abrupt jumps on some dates between August 2020 and October 2020 are not meaningful, as they only reflect difficulties reported by CM on uploading data to the national database.
Along the horizontal axis, the pink arrow marks the beginning of the de-escalation (May 4th, 2020) and the green arrow marks the end of the first state of alarm and the de-escalation (Jun 21st, 2020).