Closed wouterbeek closed 2 years ago
Implementing this enhancement is not trivial, it either requires a. writing a CORS proxy in the LDWizard project that fetches the data from the remote server on behalf of the UI; or b. implementing CORS on the remote server (the LDWizard user has obviously no way to do this).
Implementing a pure JS based solution for this using the fetch api will result in network errors because of CORS limitations. I have created a branch to illustrate the issue, see this commit, it implements the UI, but fails fetching the data when executed.
Since the use case is relatively small (it is easy to download the CSV from a URL manually), and the effort is relatively large (CORS etc.), I'm closing this issue are not useful enough to warrant the effort.
Observation
It is currently possible to upload a local tabular data file. Sometimes it may be easier to upload a tabular data file by specifying the URL to its online publication location.
Suggestion
Let's add support for uploading tabular data (and maybe also a script) by URL.