organize_data function

Extract data from objects to use in a shiny app