Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 5 Current »

Overview

Rich Data Services seeks to not only make data available over the web, but also through the packaging services, which allows users to package the data in multiple formats. One of the things that is unique to the packaging services is that users are not constrained to the raw data. Users can package the complete data set or subsets, they can add addition computed or recoded variables. The way this is provided is by allowing users to save a select query of interest to them. Once the query is saved, users will get a key that they can provide to the packaging service to specify the select query (subset, computations, and recodes) that they would like to package. 

Step By Step

  • By adding the save parameter to any select query users can access the queryId that is returned in the info section and provide this to the packaging service when needed.

    Saved Query
    http://{host}/rds/api/catalog/test/view/select?save


    Saved Output
     {
        "records": [
            [
                10000,
                1,
                0.2
            ],
            [
                20000,
                2,
                0.5
            ],
            [
                152666,
                2,
                0.75
            ]
        ],
        "info": {
            "colOffset": 0,
            "colCount": 3,
            "moreCols": false,
            "format": "MTNA",
            "includeMetadata": false,
            "limit": 20,
            "offset": 0,
            "moreRows": false,
            "queryId": "e5c9f0c0-6f66-4651-a0b0-89d5a66a7339" // this is the ID of the saved query
        }
    }


  • No labels