<jupyter_start><jupyter_text>COVID-19 Data in Iceland  Introduction and COVID-19 Background The COVID-19 Pandemic is caused by a cornoavirus named SARS-CoV-2.COVID-19 causes respiratory diseases in humans, from the common cold to more severe diseases such as Severe Acute Respiratory Syndrome (SARS) and the Middle East Respiratory Syndrome (MERS), both having high mortality rates. As of May 8th, 2022 513,955,910 cases have been documented globally.COVID-19 has impacted the world, causing economic shutdowns, lockdowns, unemployment, and education systems to go completetly virtual or being shut down. Although the world felt the impacts of COVID-19, many countries have experienced different numbers of cases and deaths.Source:World Health Organization (WHO)  Data Source The Data is from [European Centre for Disease Prevention and Control](https://www.ecdc.europa.eu/en/publications-data/download-todays-data-geographic-distribution-covid-19-cases-worldwide)<jupyter_code>%matplotlib inline
import pandas<jupyter_output><empty_output><jupyter_text>A Brief overlook of the Data This is a brief overlook into the data collected by the European Centre for Disease Prevention and Control of COVID-19 data from countries globally.<jupyter_code>df= pandas.read_excel('s3://ia241-1-spring2022-lhoward/covid_data.xls')
df[:10] #the top 10 rows<jupyter_output><empty_output><jupyter_text>The European Centre for Disease Prevention and Control has placed a priortiy on certain aspects of the COVID-19 Pandemic within countries and territories. Some of these aspects are: cases, deaths, day, month, and year.  Iceland's COVID-19 Data This data will be displayed by specifying the command to pull data only from Iceland by specifiying it from "countriesAndTerritories" of the data.This is only a small amount of data collected by the European Centre for Disease Prevention and Control. The data will display 10 days of output data on the COVID-19 virus in Iceland.<jupyter_code>iceland_data = df.loc[ df['countriesAndTerritories']=='Iceland' ]

iceland_data[:10]<jupyter_output><empty_output><jupyter_text>Total Amount of COVID-19 Cases in Iceland as of December 2020 This code shows the total amount of COVID-19 cases in Iceland as of December 2020.<jupyter_code>iceland_data.sum()['cases']<jupyter_output><empty_output><jupyter_text>The output shows that there have been 5557 COVID-19 cases in Iceland since December 2020. This data allows for future judgment of total amount cases regarding total population.  The Trend of COVID-19 cases in Iceland as of 2020 This code shows the trend of COVID-19 cases in Iceland as of December 2020.This was calculated by grouping the sum of the 'months' of the 'cases' and assigning it to the variable 'sum_cases_per_day.' A line chart is used to show the importance of cases over time and which months expereienced high numbers.<jupyter_code>sum_cases_per_day=iceland_data.groupby('month').sum()['cases']

sum_cases_per_day.plot()<jupyter_output><empty_output><jupyter_text>The output shows the trend of COVID-19 cases in Iceland as of December of 2020. The line graph shows two spikes; one spike is early in the year from Februray to March and the second spike shows a major increase in cases in Iceland from September to Early November. The highest number of cases in Iceland occured in October, reaching more than 2,000 cases per month.  The Total Amount of Deaths in Iceland as of December 2020 This code shows the total amount of deaths from COVID-19 as of December 2020.<jupyter_code>iceland_data.sum()['deaths']<jupyter_output><empty_output><jupyter_text>The output shows that there has been 28 deaths from COVID-19 in Iceland as of December 2020. This data allows for futrue judgment of total amount of deaths regarding total amount of cases.   The Trend of COVID-19 Deaths in Iceland as of December 2020. This code shows the trend of COVID-19 deaths in Iceland as of December 2020. This was calculated by grouping the sum of the 'months' of the 'deaths' and assigning it to the variable 'sum_deaths_per_date.' A line chart is used to show the importance of deaths over time and which months experienced higher numbers.<jupyter_code>sum_death_by_date = df.groupby('month').sum()['deaths']

sum_death_by_date.plot()<jupyter_output><empty_output><jupyter_text>The output shows the trend of COVID-19 deaths in Iceland as of December 2020. The line graph shows an overall increase in deaths, with the highest spike between October and November.  The Number of Deaths related to the Number of Cases in Iceland Over Time. This code shows the trend of COVID-19 deaths in relation to the trend of cases in Iceland as of December 2020. This was calculated by using the Iceland COVID-19 data and assigning variables to the number of deaths, number of cases, and time in months. X= 'cases', y='deaths', c='month'. Then a scatterplot was created to highlight the number of deaths similar to number of cases.<jupyter_code>iceland_data.plot.scatter(x='cases',y='deaths',c='month')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.058741813851954754, 'fraction_numerical': 0.02818019448303235, 'mean_word_length': 5.5625, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '8', 'dir': 'jupyter-structured-clean-dedup', 'id': '613822', 'license': 'MIT', 'n_tokens_mistral': 1520, 'n_tokens_neox': 1313, 'n_words': 659, 'path': 'Final Project IA241.ipynb', 'repo_name': 'LoganHowardJMU2024/IA241-Github', 'size': '5039'}