SWISH and loading csv files

Hi there
is there way of loading csv files into SWISH, (ideally from the computer i am on).
i wont be able to load SWISH locally at work…
Thanks very much

Yes, but only from a URL. See SWISH -- SWI-Prolog for SHaring for an example that loads a CSV file from GitHub and shows a chart.

thanks very jan.

I couldn’t get the examples working but now I can. my apologies!!

I was able to recreate my own csv on github but how do I refresh the data source? and
downloading results as csv give internal server error.

I know this does not answer your questions, but what prevents you from installing SWI-Prolog on the same machine where your files are? SWISH is great but you will be banging your head against the wall quite a bit if you want to use your local file system with SWISH.

Note the difference between SWISH and SWI-Prolog.

Thank you boris
My work will not allow local installations.

Use the URL that contains the commit hash?

Thanks for reporting. That facility was broken. Fixed. You may need to do a hard reload to make sure to get the latest version of swish.js

All in all, I doubt SWISH is going to work for what you want. The public installation aims at lots of users and is mostly stateless. You can of course run your own SWISH service, which you can configure to allow for all these things. I understand that is hard for you :frowning: If you want serious computation and process files though, you’ll need the local version or a specifically configured SWISH instance. You can of course run either on a cloud machine or in a virtual machine, etc.

Thank you very much Jan.
getting csv in and then csv out will make me happy. :slight_smile: