-
Notifications
You must be signed in to change notification settings - Fork 0
Functions
##GET Collection
This function implements the GET method for collection. A pre-requisite for this function is a utility called INIFILE freely available on Matlab file exchange (http://de.mathworks.com/matlabcentral/fileexchange/2976-inifile). It should be added to the Matlab base path.
This function takes id of a collection as an input and returns an object of type collection. It allows the user to upload data to an already existing collection in a similar manner as demostrated in the Example-Script. The syntax for getting a collection is as follows:
collection = Get_Collection( 'collection id' )
##GET Profile
This function implements the GET method for profile. A pre-requisite for this function is a utility called INIFILE freely available on Matlab file exchange (http://de.mathworks.com/matlabcentral/fileexchange/2976-inifile). It should be added to the Matlab base path.
This function takes id of a metadata profile and returns a Matlab structure with JSON for the profile stored in it. It allows the user to have access to all metadata statement and type URIs which are important for making an upload in raw syntax format. The syntax for getting a profile is as follows:
profile = Get_Profile( 'profile id' )
The Matlab structure can be utilized to dynamically obtain the statement and type URIs of all the metadata fields. Since each metadata profile is unique so such a script will have to be designed differently for every metadata profile.