Is there any way to call Google Sheet's File import
function in Apps Script
? I'm trying to import a csv file from a google drive folder
to a google sheet. But I want to be able to set up an automated trigger
to import a csv file with the same name regularly from the same google drive folder.
I'm aware that I can write an import function myself. And I actually wrote such function based on someone else's code I found on github. But the import function I have is very slow since it contains loops. Plus, parsing the entire csv file using the script is very slow. So I only want to use Google Sheet's embedded import function. -> I tried it and it's way faster than import a file using my script.