Is there a way to merge datasets?
I have a dataset response that typically includes the values for a range of dates. However, there are times when the size gets large enough (20MB+) that I convert the response into a collection of datasets.
Something like:
{
"version" : "2.0",
"class" : "collection",
"link" : {
"item" : [
{
"class" : "dataset",
"href" : "/time-series/histogram?bin_width=250&client=android&country=All&start_time=2017-04-22T00%3A00%3A00Z&end_time=2017-04-23T00%3A00%3A00Z"
},
{
"class" : "dataset",
"href" : "/time-series/histogram?bin_width=250&client=android&country=All&start_time=2017-04-23T00%3A00%3A00Z&end_time=2017-04-24T00%3A00%3A00Z"
},
{
"class" : "dataset",
"href" : "/time-series/histogram?bin_width=250&client=android&country=All&start_time=2017-04-24T00%3A00%3A00Z&end_time=2017-04-25T00%3A00%3A00Z"
}
...
]
}
}
How can I merge N datasets into 1 with the correct indices/values for dimension/id/role/value/etc?
If this isn't the correct approach, can you suggest another way to deal with merging new data? We're doing this because of file size, but it seems there are other situations (polling for new data in an app) where you'd need to merge in new data.
John