https://github.com/joebrew/vilaweb/blob/1c9c134744464006c1760411864caed349129308/analyses/piulets2019/prepare_data.R#L154