# stakeholder_coverage

An Elixir library and Mix task for [stakeholder mapping](https://www.onegtmlab.dev/glossary/stakeholder-mapping): from a contacts CSV it shows, per
account, which buying roles are covered, which are missing and which accounts are single-threaded (one contact only).
Offline, no dependencies. Built by [OneGTMLab](https://www.onegtmlab.dev/glossary/stakeholder-mapping) (GTM engineering for B2B teams).

```elixir
{:stakeholder_coverage, "~> 1.0"}
```

```csv
account,name,role
Acme,Ann,Champion
Acme,Bo,Economic Buyer
Acme,Cy,Technical Evaluator
Globex,Di,champion
```

```bash
mix stakeholder.coverage contacts.csv
# Globex: 1 contacts, missing economic_buyer, technical_evaluator  SINGLE-THREADED
# Acme: 3 contacts, all roles covered
```

Required roles default to champion, economic_buyer and technical_evaluator; use `--roles a,b` for your own. Role names are matched
ignoring case, spaces and hyphens. See the [stakeholder mapping glossary entry](https://www.onegtmlab.dev/glossary/stakeholder-mapping).

## Test

```bash
mix test
```
