<a href="http:&#x2F;&#x2F;statetable.com" rel="nofollow">http:&#x2F;&#x2F;statetable.com</a> will give you datasets with US states and&#x2F;or Canadian provinces, current and&#x2F;or historical, with or without DC, with or without minor territories &amp; posessions, and with or without military addresses.<p>Data can be exported in CSV, a PHP array, or a whole mess of MySQL commands to build a table.<p>It&#x27;s also open source if you just want the source data: <a href="https:&#x2F;&#x2F;github.com&#x2F;daveross&#x2F;statetable-com&#x2F;blob&#x2F;master&#x2F;state.csv" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;daveross&#x2F;statetable-com&#x2F;blob&#x2F;master&#x2F;state...</a>