πŸ“ [Long list] Account Names to Facility Match using PeeringDB

This playbook uses Google Search, PeeringDB and TableOps

Business question: which organizations have data centers located in a given list of locations?

Playbook

Link to the playbook

1. Search Google to get the correct organization names of the accounts

Cell 2 - Tool: TableOps

Drop rows with duplication in @1.AccountName

Cell 3 - Tool: Google Search

Search @2.AccountName on site peeringdb.com/org. If "organic" field has more than one item, then look at the first result. If the first result's title has " - " then return the text before " - ". Otherwise return empty.

Cell 4 - Tool: TableOps

Drop rows where @3.search_account_on_peeringdb is duplicated or empty. Change column name @3.search_account_on_peeringdb to corrected_name and return the table.

2. Get organization id of the accounts

Cell 5 - Tool: PeeringDB

Get organization with name contains @4.corrected_name. sleep 3s between requests.

Cell 6 - Tool: TableOps

3. Get network id of the accounts

Cell 7 - Tool: PeeringDB

Cell 8 - Tool: TableOps

4. Get facilities of the networks

Cell 9 - Tool: PeeringDB

Cell 10 - Tool: TableOps

5. Match the facility name with some facilities

Cell 11 - Tool: TableOps

Cell 12 - Tool: TableOps

Notes

Last updated