neighbor_states, a MATLAB code which records information about pairs of US states which are neighbors.
The information on this web page is distributed under the MIT license.
neighbor_states is available in a MATLAB version and an Octave version and a Python version.
neighbor_risk, a MATLAB code which records information about neighboring pairs of territories in the game of RISK.
usa_matrix, a MATLAB code which defines the adjacency matrix for US states, using a variety of matrix formats.