Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No methods for reading data from excel? #12

Open
efraimmgon opened this issue Dec 22, 2021 · 3 comments
Open

No methods for reading data from excel? #12

efraimmgon opened this issue Dec 22, 2021 · 3 comments
Labels

Comments

@efraimmgon
Copy link

First of all, thank you for providing a library that is well designed and easy to follow even if you have to dig into the source code.

Now, I haven't seem any methods to read data from excel. At least for me, that is essential, since when automating excel workflows we usually retrieve the data from the excel sheets themselves.

Having to use different libraries for reading and writing is a little annoying.

@matthewdowney
Copy link
Owner

Hey @efraimmgon, it's true that there is no way to read using excel-clj.

This is a feature that I would be happy to accept a PR for, and might get time to look into myself over the holidays.

The main challenge I see is reading cell style data — there are so many options, and extracting them all from the Apache POI objects is a real pain due to nested objects, each of which typically contains a myriad of defaults. I'm wondering if in your case, an implementation that ignores cell style when reading would still be useful?

@efraimmgon
Copy link
Author

I liked your library because it had what I was looking for: a simple, functional way of using clojure with excel sheets.

I expected similar functionality for reading. I can see the problem that you mention. For my spreadsheet projects all I care about is the raw data. Perhaps having a fn that returns that and then iterating from there is the right call.

In any case, I can still style cell data when writing, which for 90% of projects would be good enough, because when I'm reading I think what is most important is the cell values themselves.

@jacobemcken
Copy link

For reading Excel data this lib might be of use:
https://github.com/kbosompem/bb-excel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants