Covid Thailand Trends

Thailand Covid testing and case data gathered and combined from various sources for others to download or view


Project maintained by djay Hosted on GitHub Pages — Theme by mattgraham

Thailand COVID-19 Data

Note Share via https://djay.github.io/covidthailand

Thailand COVID-19 case/test/vaccination data gathered and combined from various government sources for others to view or download.

Cases | Deaths | Vaccinations | Active Cases | Testing | Downloads | About

NEW Excess Deaths

Disclaimer

Data offered here is offered as is with no guarantees. As much as possible government reports and data feeds have been used effort has gone into making this data collection accurate and timely. This sites only intention is to give an accurate representation of all the available Covid data for Thailand in one place.

Links to all data sources are including in Downloads

Trends

Daily Averages as % of Peak Hospitalisation as % of Peak

Cases

Cases by Region

Cases/100k by Region

Cases by Region

Cases by Province

Provinces with Most Cases/100k

Trending Up Confirmed Cases (by Provinces)

Cases by Where Tested

Source of Confirmed Cases

Cases by Risk Group

Cases by Risk

Trending Up Community Cases | Trending Up Contact Cases

Cases by Age

Ages of Confirmed cases

Cases and Social Distancing

Number of confirmed cases and reduced movement of people

Cases by non-Thai nationality

Deaths

COVID-19 Deaths

Thailand Covid Deaths by Reason

Thailand Covid Deaths by Region

Thailand Covid Deaths by Region

Deaths Top Provinces

COVID-19 Deaths Age Range

Thailand Covid Death Age Range

Thailand Covid Death Age Range

Vaccinations

Vaccinations by Priority Groups

Daily Vaccinations in Thailand

Vaccinations in Thailand

Progress towards Full Vaccination

Progress towards Half Vaccination

Vaccinations by Region/Province

Vaccinated given by Region

Vaccine Doses given by Region

Top Provinces by Vaccination 2nd Jab Lowest Provinces by Vaccination 2nd Jab

Top Provinces by Vaccination 1st Jab

Active Cases/Hospitalisations

Thailand Active Cases

Thailand Cases in ICU

Testing

Positive Rate

Positive Rate

Positive Rate by Region - Thailand

PCR Tests in Thailand by day

Private and Public Tests

Private and Public Positive Results

PCR Tests by Health District

Tests by health District

Excess Deaths

Shows Deaths from all causes in comparison to the min, max and mean of Deaths from the 5 years pre-pandemic.

Thailand Excess deaths with Covid Deaths

Thailand Excess Deaths by Age

Thailand Excess Deaths by Region

Thailand Deaths Years Compared

How to contribute

Install

Running just plots (or latest files)

The plots are produced from csv files made in covid_data.py.

  1. Get the latest datasets release to speed up the process.
  1. You can comment out parts of covid_plot.py to skip some plots.
    • In USE_CACHE_DATA only *_3.png files are produced. 3 is for 3rd wave (since April 2021).

Running full code

  1. Extract the latest input files (~1.3G). This get the latest cache of documents to speed up scraping.
  1. To build the CSV files needed for plotting from the inputs downloaded above, from the root directory of the repo, run:
  USE_CACHE_DATA=True python covid_data.py
  1. If many days have passed since the last run then return to step 1. or slightly slow but smaller download is to download the latest datasets files which will speed up dashboard scrapping which is the slowest part.

  2. If you really need to ensure all the files are scraped again then

Running Tests (scraping)

$ sudo gem update bundler
$ bundle config set --local path vendor/bundle
$ bundler install
$ bundle exec jekyll serve

Contributors

About

Made with python/pandas/matplotlib. Dylan Jay gave a talk on how easy it is to extract data from PDFs and powerpoints and plot data at Bangkok’s Monthly ThaiPy Event Video: “How I scraped Thailand’s covid data” (1h mark)

Why do this? Originally to answer the question “Was Thailand doing enough testing?” for myself and because Someone was wrong on the internet.

License

!Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

Other sources of visualisations/Data for Thailand

Change log