implemented #174 for establishmentgenerator
for #174 on generate_stats (and select_features)
Merge branch 'feature/generate_stats' into develop
resolves #159