fetcher sheets have an empty data on index 0
See original GitHub issueDescription
Based on #242, you will know that we have an empty data on /data/wbw-sheets.json
produced by script on /etc/fetchers/fetch-sheets.ts
.
Sample empty data:
[
{"id":"358239346","name":"Tentang Database","data":[]},
{
"id": "0",
"name": "DKI Jakarta",
"data": []
},
]
Expected Behaviour
Remove “Tentang Database” from the result.
Additional Information
Need to check, is our App already expect this condition, if yes, you need to change it also
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Index Function Not Working. Returning Blanks - Google Support
...but the second image shows the blank once I add a few empty rows above. Please help. Details. Sheets,Microsoft Windows,Personal use.
Read more >iMPORTXML is returning #NA (imported content is empty) in ...
To get the first one, you can do =index(IMPORTXML(N12;"//h1");1;1) or ... in I9, you could fetch all data at once using this global...
Read more >How to use Google Sheets as a basic web scraper - Ben Collins
How to use the IMPORT formulas in Google Sheets to build a basic web scraper and get data from websites into your Google...
Read more >How to Return First Non-blank Value in a Row or Column
To return the first non-blank value in a row or column, you can use Query or an Index-Match combination formula in Google Sheets....
Read more >get_values does not return all data in some scenarios ... - GitHub
This is due to SpreadSheet API that returns a list of values for each row that is returned and trims empty values at...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If the performance of scrapping the Google Sheet was the main issue, we don’t need to change it, we just need to remove the first array after finish the scrapping process.
It’s not high cost in my opinion
This issue should have been resolved already by #361. The first sheet is removed after the sheets have been fetched.