eviatlas icon indicating copy to clipboard operation
eviatlas copied to clipboard

Allow upload of Excel files

Open nealhaddaway opened this issue 2 years ago • 3 comments

Probably behavior: treat .xlsx files like .csv files (only reading in first sheet).

Add readxl to requirements should be implement in same stage as moving CSV read from base R read.csv to tidy read_delim

nealhaddaway avatar Mar 30 '22 21:03 nealhaddaway

I have managed to upload the excel file but it needs some work. At the moment I have to comment out the JS code in the dataTable (Map Database) to get it to render. I have no idea why! See code here: https://github.com/ESHackathon/eviatlas/blob/bfb46bbbf4364d8d5e150e9927fed4e6549eb665/server.R#L322

Have you got any ideas what is going wrong here (if you uncomment the JS section you should see a blank Map Database but the Atlas displays correctly)?

DrMattG avatar Apr 11 '22 11:04 DrMattG

Yeah that works for me - but the commented out code doesn't seem to be impingeing on how it handles the xlsx file - everything seems to be working fine. I wonder what it did? Seems to be something to do with popups...

It works OK with the sample data as well, so it can't be the csv file...

Maybe we can ask Martin and Andrew?


From: Matthew Grainger @.> Sent: 11 April 2022 11:38 To: ESHackathon/eviatlas @.> Cc: nealhaddaway @.>; Assign @.> Subject: Re: [ESHackathon/eviatlas] Allow upload of Excel files (Issue #84)

I have managed to upload the excel file but it needs some work. At the moment I have to comment out the JS code in the dataTable (Map Database) to get it to render. I have no idea why! See code here: https://github.com/ESHackathon/eviatlas/blob/bfb46bbbf4364d8d5e150e9927fed4e6549eb665/server.R#L322

Have you got any ideas what is going wrong here (if you uncomment the JS section you should see a blank Map Database but the Atlas displays correctly)?

— Reply to this email directly, view it on GitHubhttps://github.com/ESHackathon/eviatlas/issues/84#issuecomment-1094945092, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKOBNXCDBZOJLLLDGC4DRDLVEQFLJANCNFSM5SDGAXZA. You are receiving this because you were assigned.Message ID: @.***>

nealhaddaway avatar Apr 12 '22 17:04 nealhaddaway

Yeah good idea to ask Andrew and Martin!

DrMattG avatar Apr 12 '22 18:04 DrMattG