kengruven / strukt-bugs

Bug reports and feature requests for Strukt
6 stars 0 forks source link

Question: save and export options? #26

Open jools-r opened 6 years ago

jools-r commented 6 years ago

Once you've parsed, filtered, and concatenated various data sources, are there any ways to export the data results (and/or maps, diagrams, charts) or to build new databases from them? If so, what formats are supported?

A related question: is it possible to save data pipelines for re-using on different data sources of the same format?

Currently the homepage is unclear on both. A test version would make that apparent ;-)

kengruven commented 6 years ago

Thanks for writing! A webpage update is on my short list, so I'll be sure to add some clarification around these points you brought up.

For all of the things it doesn't support yet, the only reason is they haven't been the top priority, and/or nobody has ever thought to ask for them before. I do add features to Strukt all the time (I added 2 operations just last week!), so if there's a particular feature you need, just ask. It might be easy to implement, or something I'm working on already. I can totally appreciate asking somewhat vague questions, to feel out what an app can do, but the functionality is improving all the time, and if you're looking for a specific feature, there's a good chance someone else is, too!

cheers!

jools-r commented 6 years ago

Thank you for the very informative answer. That was exactly what I wanted to know about both aspects.

CSV is fine as a bridge to other common DB formats so long as the individual fields remain distinct. I was envisaging using Strukt to extract legacy data in many small files for use in a new CMS, and being able to export is vital for that workflow, as is reusing data pipelines once I have them working. There are probably some niggles to deal with such as escaping certain characters for CSV format or CDATA blocks. Sometimes it's useful to perform string operations on 'converted' output (make lowercase or url-friendly, etc., prepend/append a string), but some of that can be done in excel/numbers.

Regarding chart/diagrams, it can be useful to have diagrams in a vector format that one can post-edit, clean up, adapt etc. Even without a specific vector export format (e.g. EPS), one can often dissect a PDF printout if the content it contains is in vector-based objects. Personally, I would not see this a priority.

kengruven commented 6 years ago

I was envisaging using Strukt to extract legacy data in many small files for use in a new CMS

I don't think I've heard of anyone using it for that, but it certainly sounds like something that I want Strukt to be able to do. If you run into any limitations, let me know and I'll be happy to help.

Sometimes it's useful to perform string operations on 'converted' output (make lowercase or url-friendly, etc., prepend/append a string), but some of that can be done in excel/numbers.

FWIW, all of these can be done in Strukt:

text

one can often dissect a PDF printout if the content it contains is in vector-based objects. Personally, I would not see this a priority.

Good points. I'll keep this in mind. The maps use Apple's MapKit, which doesn't seem to support any vector output, but it could be done for the charts. One possible method could be to add printing support for output views -- then you could just save to PDF instead.

molschimke commented 6 years ago

+1 for writing data back into database (in our case especially PostgreSQL and MongoDB)