Skip to content

Commit

Permalink
minor fixes (Aug 2021)
Browse files Browse the repository at this point in the history
  • Loading branch information
asjadnaqvi committed Aug 2, 2021
1 parent 5659a52 commit dfc4ee3
Show file tree
Hide file tree
Showing 29 changed files with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions 02_dofiles/COUNTRY_MERGE_v3.do
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ export delimited using "$coviddir/04_master/csv_nuts/EUROPE_COVID19_master.csv",

**** data summary graphs below. Can be marked out

set scheme white_tableau, perm

use "EUROPE_COVID19_master.dta", clear

Expand All @@ -201,7 +202,7 @@ graph set window fontface "Arial Narrow"
// scatter of nuts date combinations

twoway ///
(scatter cases_daily_pop date if cases_daily_pop >= 0 & cases_daily_pop <= 30, mcolor(red%8) msize(*0.25) msymbol(smcircle) mlwidth(vvthin)) ///
(scatter cases_daily_pop date if cases_daily_pop >= 0 & cases_daily_pop <= 30, mcolor(%8) msize(*0.25) msymbol(smcircle) mlwidth(vvthin)) ///
, ///
legend(off) ///
xtitle("") xlabel(#20, labsize(vsmall) angle(vertical)) ///
Expand All @@ -221,11 +222,11 @@ gen last = .
levelsof country, local(lvls)
foreach x of local lvls {

summ date if country=="`x'"
replace first = 1 if date==`r(min)' & country=="`x'"
qui summ date if country=="`x'"
qui replace first = 1 if date==`r(min)' & country=="`x'"

summ date if country=="`x'"
replace last = 1 if date==`r(max)' & country=="`x'"
qui summ date if country=="`x'"
qui replace last = 1 if date==`r(max)' & country=="`x'"
}


Expand All @@ -245,7 +246,7 @@ encode country, gen(nuts0)


twoway ///
(scatter nuts0 date if tag==1, mcolor(maroon%50) msize(vsmall) msymbol(smcircle) mlwidth(vvthin)), ///
(scatter nuts0 date if tag==1, mcolor(%50) msize(vsmall) msymbol(smcircle) mlwidth(vvthin)), ///
ytitle("") yscale(noline) ///
ylabel(1(1)26, labsize(vsmall) valuelabel) ///
xtitle("") ///
Expand Down Expand Up @@ -297,8 +298,8 @@ display "Height = `ys', Width = `xs'"
heatplot cases_daily_pop i.id date if country=="`x'", ///
hex levels(30) color(, reverse) ///
p(lc(white) lw(0.04)) ///
ylabel(, nogrid labsize(*0.6)) ///
xlabel(`xmin'(15)`xmax', labsize(*0.6) angle(vertical) format(%tdDD-Mon-yy) nogrid) ///
ylabel(, nogrid labsize(1.8)) ///
xlabel(`xmin'(15)`xmax', labsize(1.8) angle(vertical) format(%tdDD-Mon-yy) nogrid) ///
xtitle("") ///
ramp(bottom length(80) space(7) subtitle("")) ///
title("Data range check - `x'") ///
Expand Down
Binary file modified 05_figures/range_date.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Austria.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Belgium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Croatia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Czechia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Denmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_England (UK).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Estonia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Finland.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_France.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Germany.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Greece.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Hungary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Ireland.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Italy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Latvia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Netherlands.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Norway.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Poland.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Portugal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Romania.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Scotland (UK).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Slovak Republic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Slovenia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Spain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 05_figures/range_date_Sweden.png
Binary file modified 05_figures/range_date_Switzerland.png
Binary file modified 05_figures/range_newcasepop.png

0 comments on commit dfc4ee3

Please sign in to comment.