ThisIsLorenzo / PFAS_Systematic_Evidence_Map

0 stars 0 forks source link

Data Structure Shiny app #2

Open ThisIsLorenzo opened 7 months ago

ThisIsLorenzo commented 7 months ago

https://github.com/ThisIsLorenzo/PFAS_Systematic_Evidence_Map/blob/c785c5367c683399ad776c5f68cba89e4c1bd0c1/R/PFAS_SEM_Shiny_App/server.R#L20

I am trying to have the "Data" structure divided into 4 parts: Mapping, Appraisal, Bibliometrics, and Whole database. These four parts should have inside different data tables (we have 6 data tables in total for our map). There should be 3 columns always displayed and the option to add more variables using the tab on the left (data selection).

However, I am struggling to render different tables for each of the four parts. I am also struggling with displaying only 3 variables (e.g., Author_year, Paper_title, DOI) instead of all columns. Also, the app is not displaying all columns of all datatables in the list my_data, but it is only displaying columns of the first item of the my_data list (mdata table).

@itchyshin Once we fix these problems, only the Bibliometrics part of Visualisation will need attention. I've done all the rest.