Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

entitlements

RavenPack News Analytics Data Gateway entitlements

Syntax

e = entitlements(c)

Description

example

e = entitlements(c) retrieves the RavenPack® News Analytics entitlements using the RavenPack News Analytics connection c.

Examples

collapse all

Create a RavenPack News Analytics connection c using the user name username and password pwd.

c = ravenpack('username','pwd');

Retrieve RavenPack News Analytics Data Gateway entitlements e.

e = entitlements(c);

Display the first two rows and columns of the entitlement data.

e(1:2,1:2)
ans = 

          DISPLAYNAME                       NAME              
    _______________________    _______________________________

    'RPNA-4.0-EQUITIES'        '(entity-scores :rpna-4.0-eqt)'
    'RPNA-4.0-GLOBAL-MACRO'    '(entity-scores :rpna-4.0-mgp)'

e is a table that contains the entitlement data. These columns specify the name of the RavenPack symbols. You can retrieve RavenPack News Analytics data for the RavenPack symbols specified in each row of the table.

For details about the column names in the table, see the RavenPack Developer Zone Overview.

List all the columns in the entitlement data.

e.Properties.VariableNames
ans = 

  Columns 1 through 6

    'DISPLAYNAME'    'NAME'    'VERSION'    'SUFFIX'    'FIELDS'    'PRODSEQ'

  Column 7

    'PRODUCT'

Close the RavenPack News Analytics connection.

close(c)

Input Arguments

collapse all

RavenPack News Analytics connection, specified as a connection object created using ravenpack.

Output Arguments

collapse all

RavenPack News Analytics Data Gateway entitlements, returned as a table.

Tips

  • Before creating a RavenPack News Analytics connection:

    • Start the RavenPack Data Gateway process.

    • Add the full path of the Data Gateway Client JAR file to the static or dynamic Java® class path.

    For details, see ravenpack.

Introduced in R2015b

Was this topic helpful?