data-driven niche analysis