StatistikStadtZuerich / BevSzen

population scenarios City of Zurich
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

repetitive factor(ifelse...) statements #15

Closed insilentio closed 1 year ago

insilentio commented 2 years ago

There are many mutate staments of the form factor(if_else(SexCd == 1, uni_s[1], uni_s[2]), uni_s)

They should be generalized via a function, something like fct_if(uni_s, 1,2)

insilentio commented 1 year ago

moved to Gitlab