'Appending rows on Monthly basis by extracting from salesforce

I have downloaded a dataset from salesforce using Python (1 month Data)

saql=```
q = load "Lightning_DV";
q = foreach q generate 'APP_NAME' as 'APP_NAME', 'BROWSER_NAME' as 'BROWSER_NAME', 'BROWSER_VERSION' as 'BROWSER_VERSION';
q = limit q 10000;


import SalesforceEinsteinAnalytics as EA
print("Download Process Initiated for instance...")

EAS = EA.salesforceEinsteinAnalytics(env_url='https://spglobalratings--vision.my.salesforce.com', browser='chrome',)
print(EAS)

res=EAS.run_saql_query(saql=saql)

Now I want to append the above 'res' dataset for every Month. Is there a way I can automate this task or maybe write some logic rather then manually appending it



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source