I found out how to display the table, following the answer to this question. Just add
- \setkeys{Gin}{width=\linewidth,height=\textheight,keepaspectratio}
to the header.