# -*- coding: utf-8 -*-
"""Untitled0.ipynb

Automatically generated by Colaboratory.

Original file is located at
    https://colab.research.google.com/drive/1u0oNn3bt-5wpaQXNPx5Ar9Pv8_2XEnly
"""

!pip install datadotworld[pandas]

!dw configure

import datadotworld as dw

import pandas as pd

covid_cases = dw.load_dataset('covid-19-data-resource-hub/covid-19-case-counts')

covid_cases.dataframes

covid_df = covid_cases.dataframes['covid_19_activity']

covid_df.head(10)

covid_df_reduced = covid_df[['report_date','continent_name','country_short_name','province_state_name','people_positive_cases_count','people_positive_new_cases_count','people_death_count','people_death_new_count']]

from google.colab import files
covid_df_reduced.to_csv('COVID-19 Activity.csv', index=False)
files.download('COVID-19 Activity.csv')