I am using the R Datastream API and I would like to access my user stats to see how much of my allowed data I have accessed. Refinitiv account manager directed me here with this:
"For desktop version, you can create and run reports to check your usage using the mnemonic STATS and datatypes DS.USERSTATS."
I've run this query and it comes up NA:
dsws$snapshotRequest(instrument = 'STATS', datatype = 'DS.USERSTATS', requestDate = "0D")
What do I need to do to get my user stats?
The snapshotRequest method can also be used to retrieve monthly usage in terms of data points used per month by using STATS as instruments and DS.USERSTATS as data type. Only snapshot requests are supported and by default the current month’s usage stats are returned. Previous months’ data can be returned by simply adding a valid start date in request of any previous month.
Please try this:
myStat <- mydsws$snapshotRequest(instrument = "STATS", datatype = "DS.USERSTATS", requestDate = Sys.Date()) myStat
Refer to the DSWS USER STATS AND LIMITS guide, the result contains the following data types.
Each request is counted toward these data types.
For example, one STATS request counts as:
DS.USERSTATS was created for Desktop clients, that are limited to 10 million datapoints per month. Enterprise users are not restricted with their downloads, so this tool does not apply. For usage stats for Enterprise clients, this can be requested by their account manager.