Carrying on from my last post, a while back, I blogged about how I took data from Campaign Monitor and posted to Google's Data Studio for the sake of creating a better, compiled dashboard. Well the request popped up again for me, but this time to take some more generic data, so I decided to write a better class for it.
This is going to be short and sweet, like the previous post, we're going to need a simple addition to our composer.json:
The construct object is going to look very similar as well:
And now we'll just make a simple upload function to use to store in Google's storage buckets:
From there - you can go nuts in the Data Studio. Folder and file naming conventions are very important, with spreadsheets for instance, you can keep uploading date stamped files which will merge nicely and you can see your increments over time.
Hope you'll all be able to make some cool integrations with this!
J.
This is going to be short and sweet, like the previous post, we're going to need a simple addition to our composer.json:
The construct object is going to look very similar as well:
And now we'll just make a simple upload function to use to store in Google's storage buckets:
From there - you can go nuts in the Data Studio. Folder and file naming conventions are very important, with spreadsheets for instance, you can keep uploading date stamped files which will merge nicely and you can see your increments over time.
Hope you'll all be able to make some cool integrations with this!
J.
Comments
Post a Comment