Determines which municipalities we drop according to the dropfile csv.
Drops all munics with more than 4 missing values in row.
fills missing valuesand returns five csv files
returns a large table of missing observations by date and municipalities
Cumulative sums of missing weeks
returns how many municipalities didn't enter values on a specific date. Returns five seperate files due to merge errors.
Number, percent and max length of missing obs
plots all locations and the weeks missing in summer 2015
attempts to plot the timeline per municipality showing missing and non-missing in different colors (not done yet)
slices the original file into subperiods
all dates of the subperiods are saved here.
provides get() and set() methods for all files. Change paths to your local folders here.