Add more baseline data for Belgium.

communication
junos 2021-06-08 16:01:46 +02:00
parent 7b88f62e0a
commit 48f9f782f7
1 changed files with 3 additions and 2 deletions

View File

@ -27,13 +27,14 @@ import participants.query_db
# %% # %%
baseline_si = pd.read_csv('E:/STRAWbaseline/results-survey637813.csv') baseline_si = pd.read_csv('E:/STRAWbaseline/results-survey637813.csv')
baseline_be = pd.read_csv('E:/STRAWbaseline/results-survey358134.csv') baseline_be_1 = pd.read_csv('E:/STRAWbaseline/results-survey358134.csv')
baseline_be_2 = pd.read_csv('E:/STRAWbaseline/results-survey413767.csv')
# %% # %%
participants_inactive_usernames = participants.query_db.get_usernames(collection_start=datetime.date.fromisoformat("2020-08-01")) participants_inactive_usernames = participants.query_db.get_usernames(collection_start=datetime.date.fromisoformat("2020-08-01"))
# %% # %%
baseline = pd.concat([baseline_si, baseline_be], join="inner").reset_index().drop(columns="index") baseline = pd.concat([baseline_si, baseline_be_1, baseline_be_2], join="inner").reset_index().drop(columns="index")
baseline_inactive = baseline[baseline["Gebruikersnaam"].isin(participants_inactive_usernames)] baseline_inactive = baseline[baseline["Gebruikersnaam"].isin(participants_inactive_usernames)]
# %% # %%