Package XLSX.jl provides tool to import XLSX file from path name: readxlsx
.
However, I struggle handle an XLSX that is first parsed by the file upload functionality in Dash.jl. The resulting parsing from the upload is a string that looks like:
data:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;base64,UEsDBBQABgAIAAAAIQBi7p1oXg...
What I was first hoping to do was to directly save that parsed content into a .xlsx
that could then be read by readxlsx
. However, resulting file content is no longer in a valid format. The valid xlsx
format should have looked like:
PK ! bîh^ [Content_Types].xml ¢( ¬”ËNÃ0E÷HüCä-Jܲ@5í‚Ç*Q>Àēƪc[žiiÿž‰ûB¡j7±ÏÜ{2ñÍh²nm¶‚ˆÆ»R‹ÈÀU^e7/ÅÇì%¿’rZYï e@1__f› ˜q·ÃR4DáAJ¬h>€ãÚÇVßƹªZ¨9ÈÛÁàNVÞ8Ê©ÓãÑÔji){^óã-I‹"{Üv^¥P!XS)bR¹rú—K¾s(¸3Õ`cÞ0†½ÝÎß»¾7M4²©ŠôªZÆk+¿|\|z¿(Ž‹ôPúº6h_-[ž@!‚ÒØ Pk‹´2nÏ}Ä?£LËð Ýû%áÄßedºždN"m,à¥ÇžDO97*‚~§Èɸ8ÀOíc|n¦ÑaäEøÿöéºóÀBÉÀ!$}‡íàÈé;{ìÐå[ƒîñ–é2þ ÿÿ PK ! µU0#ô L _rels/.rels ¢( ¬’MOÃ0†ïHü‡È÷ÕÝBKwAH»!T~€Iܵ£$eÝ¿'TƒG½~üÊÛÝ<êÈ!öâ4¬‹;#¶w†—úqua*&r–Fq¬áÄvÕõÕö™GJy(v½*«¸¨¡KÉß#FÓñD±Ï.W ¥†=™ZÆMYÞbø®ÕBS톰·7 ê“Ï›×–¦é
?ˆ9LìÒ™ÈsbgÙ®|
Is there a way to get that first parsed string into a valid format, compatbiel with XLSX.readxlsx
?