I have a table that I made with the kableExtra
package in R, using kbl()
. Each row has a state abbreviation, like 'NJ', 'ME', etc, and the columns have info about each state.
Is there an easy way to add a column that just has the shape pictures of the states? This would make it easy to quickly identify states. like the row with NJ would have the shape of NJ next to it.
Edit: I know how to add an image to the table, as discussed here: Add an image to a table-like output in R, but I'm specifically looking for a way to get the US state shapes.