user32700: I am looking for a spreadsheet such as the one here: https://data.world/uci/chess-king-rook-vs-king, except that it covers all 5 or less men endgames. Ideally it would also have PGNs of the ideal continuation and/or FENs for each position.
Does that exist? How could I go about making one?

user12873: If you search "tablebase chess" on google, this link should be the first result:
https://syzygy-tables.info/
Once there, scroll down to the table with the columns "Host, "Info", "List". These should give you access to all the possible endgames with seven or fewer pieces. Note that the files for each endgame aren't human readable though. I'm not sure if you program, but if you do there should be ways to work with the files. E.g., see:
https://github.com/official-stockfish/Stockfish/blob/master/src/syzygy/tbprobe.cpp
for how Stockfish accesses the tablebases in C++. You could start at the probe_dtz function.
Note that the combined file sizes of all the tablebases is a number of terabytes, but if you're only interested in 5 or fewer pieces, this should be exponentially lower (easily stored on a modern computer I'd imagine).

32700: <p>I am looking for a spreadsheet such as the one here: <a href="https://data.world/uci/chess-king-rook-vs-king" rel="nofollow noreferrer">https://data.world/uci/chess-king-rook-vs-king</a>, except that it covers all 5 or less men endgames. Ideally it would also have PGNs of the ideal continuation and/or FENs for each position.</p>
<p>Does that exist? How could I go about making one?</p>
 12873: <p>If you search &quot;tablebase chess&quot; on google, this link should be the first result:
<a href="https://syzygy-tables.info/" rel="nofollow noreferrer">https://syzygy-tables.info/</a></p>
<p>Once there, scroll down to the table with the columns &quot;Host, &quot;Info&quot;, &quot;List&quot;. These should give you access to all the possible endgames with seven or fewer pieces. Note that the files for each endgame aren't human readable though. I'm not sure if you program, but if you do there should be ways to work with the files. E.g., see:
<a href="https://github.com/official-stockfish/Stockfish/blob/master/src/syzygy/tbprobe.cpp" rel="nofollow noreferrer">https://github.com/official-stockfish/Stockfish/blob/master/src/syzygy/tbprobe.cpp</a>
for how Stockfish accesses the tablebases in C++. You could start at the probe_dtz function.</p>
<p>Note that the combined file sizes of all the tablebases is a number of terabytes, but if you're only interested in 5 or fewer pieces, this should be exponentially lower (easily stored on a modern computer I'd imagine).</p>
