Hi,
I have defined a global variable as below:
I also have a variable defined as 'query' in the dataset and I want to do the below:
But instead of explicitly writing out the criteria in the inlist, I want to use the
in the inlist i.e. split the global into strings separated by commas. How do I do that?
I have defined a global variable as below:
Code:
global querynames_post "world_covid_3-13 world_covid_3-20 world_covid_20200327 world_covid_20200430 world_covid_20200922 world_covid_20210319 world_covid_20210611 world_covid_20220219 world_covid_20220511b"
Code:
replace datetime = datetime + (diff_real_rep * 60 * 60 * 1000) if inlist(query, "world_covid_3-20", "world_covid_20200327", "world_covid_20200430", "world_covid_20200922")
Code:
global querynames_post
Comment