gajus / table

Formats data into a string table.
Other
894 stars 77 forks source link

Is it possible to read data from a table? #179

Closed Heinzen closed 3 years ago

Heinzen commented 3 years ago

I didn't locate anything in the current implementation dedicated to reading data from or manipulating existing data in a row. Are there any approaches?

nam-hle commented 3 years ago

Currently, we are supporting only convert data arrays into strings, not the opposite direction. Why do you need that? I assume that you had the data already?

Heinzen commented 3 years ago

I was looking into populating the table as a source of data. I will create a structure instead so I have an actual source and feed the table with that instead. Given the current structure of the project, do you think its feasible to make it a data source? Would be willing to contribute with a PR for that but I haven't investigated nearly enough to know whether that is even desirable.

nam-hle commented 3 years ago

Thanks for your spirit but IMO it is sadly not the main purpose of the package: 'Produces a string that represents array data in a text table.'

gajus commented 3 years ago

Agreed. Out of scope for this package.