Getting data from polygon into a dataframe

Here is what I use on this thread,