paws-r / paws

Paws, a package for Amazon Web Services in R
https://www.paws-r-sdk.com
Other
313 stars 37 forks source link

User questions (not issue) regarding querying timestreams #607

Open vincentvanhees opened 1 year ago

vincentvanhees commented 1 year ago

I am looking for a demo example on how to use timestreamquery() in context?

In particular I am wondering:

If there is a better place to ask questions like this then please tell me.

DyfanJones commented 1 year ago

Hi @vincentvanhees

Can I use this in combination with parallel processing via foreach in R? I believe this is ok, I have done something similar with future.apply and S3() in the s3fs package.

How do I fetch the queried data into the R workspace? It looks like the method query should do this for you. https://paws-r.github.io/docs/timestreamquery/query.html

Mini example:

client = paws::timestreamquery()
client$query(QueryString = "string")

Then you will need to parse the returning list :) I hope this helps :)