Accessing dataset description through plugin API?

CODAP Forums CODAP Help Forum Accessing dataset description through plugin API?

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6471 Score: 0
    Thomas Castleman
    Participant
    1 pt

    Hi,

    I noticed by clicking the “i” button on the sidebar of a table, you get a “Dataset Information” popup that shows a name, source, import date, and description for the dataset.

    Is this information (in particular, the description field) accessible/modifiable through the data interactive plugin API? If so, how? I noticed that data contexts have a description field (documented as currently unused), but I checked and this appears to be separate from what is displayed in the “i” menu.

    Thanks

    #6472
    Jonathan Sandoe
    Keymaster

    Hi Thomas,

    The description property in the DataContext can be considered to be decremented. The metadata property includes, as you note, a description property, which is visible in the “info” menu in the Case Table. You can retrieve the metadata through the API. You can create a metadata object when you create a data context through the API. You cannot at this time update it through the API.

    Jonathan

    #6484
    Thomas Castleman
    Participant
    1 pt

    Thank you! I could not find the metadata property in the documentation, but that is indeed what I need.

    Thomas

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.