I have a device that upload data every day. The data store in json format and file name using date format (ex: 20181002.json) and a new file will be added to the same folder every day (20181003, 20181004 and so on) for a month and a new folder will be created by device every month.
I want to display the latest data in a table without selecting the filename every day. Is there a way to do that?
This is the filepath I used.
xhr.open('GET', 'database/Dabung/2018/10/20181002.json');
xhr.send();