Question: Error in ImportMatrix

Ok so I managed to get my data into a google spreadsheet by using a google app script (JavaScript in the cloud).
The data is updated daily. I now want to access it from Maple. Axel has helped me write the following
procedure to do just that for (https websites and not just http):

X := proc (Url) local theDLL, URLDownloadToFile, myDirectory, myFile, Destination, DL;

theDLL := "C:\\WINDOWS\\SYSTEM32\\urlmon.dll";

URLDownloadToFile := define_external('URLDownloadToFileA', pCaller::(integer[4]), szURL::string, szFileName::string, dwReserved::(integer[4]), lpfnCB::(integer[4]), 'RETURN'::(integer[4]), LIB = theDLL);

FileTools:-MakeDirectory("C:\\mydir");
myDirectory := "C:\\mydir";
myFile := "data1.csv";
Destination := cat(myDirectory, "\\", myFile);

DL := proc () URLDownloadToFile(0, Url, Destination, 0, 0);
ImportMatrix("C:\\mydir\\data1.csv", source = csv)
end proc;

return DL(), FileTools:-RemoveDirectory("C:\\mydir", recurse = true, forceremove = true)

end proc:


X("https://docs.google.com/spreadsheets/d/1L5-yUB0EWeBdJNMdELKBRmBQ1JJ0QymrtDLkVhHCVn8/edit?usp=sharing");

 

However now I get an error message saying:

Error, (in ImportMatrix) no delimiter found after line 768, column 2


Any ideas how to solve this?

Please Wait...