📅  最后修改于: 2023-12-03 14:40:13.223000             🧑  作者: Mango
Corona Schweiz is a website that provides real-time information about COVID-19 in Switzerland. It is a platform developed by the Swiss Federal Office of Public Health (FOPH) to keep the public informed about the latest developments of the pandemic, such as the number of confirmed cases, deaths, and hospitalizations across different cantons.
The data displayed on Corona Schweiz is collected from various sources, including the Federal Office of Public Health, the cantonal health authorities, and the Swiss National COVID-19 Science Task Force.
Corona Schweiz provides a variety of information and features, including:
Dashboard: Displays the latest information and statistics about COVID-19 in Switzerland, such as the number of confirmed cases, deaths, and hospitalizations. Users can filter the data by cantons and date range.
Data explorer: Allows users to explore the COVID-19 data in more detail, such as the age and gender distribution of confirmed cases, the number of tests conducted, and the number of people vaccinated.
News and updates: Provides the latest news and updates related to COVID-19 in Switzerland, as well as information about vaccination campaigns and public health measures.
FAQ: Answers frequently asked questions about COVID-19, including how it spreads, how to protect yourself, and what to do if you have symptoms.
Corona Schweiz also provides an API that allows developers to access and use the COVID-19 data in their own applications. The API returns data in JSON format and provides endpoints for retrieving different types of data, such as the latest statistics, the historical data, and the vaccination data.
# Example API request
import requests
url = "https://www.coronadashboard.admin.ch/api/data"
params = {"format": "json"}
response = requests.get(url, params=params)
data = response.json()
print(data)
Corona Schweiz is a valuable resource for anyone interested in staying informed about the latest developments of COVID-19 in Switzerland. Its real-time data and features provide a comprehensive view of the pandemic and can help individuals and communities take necessary actions to protect themselves and others.