home.pdf-templates.DataManagementPlan.vm Maven / Gradle / Ivy
#macro(noInformation)
Not provided
#end
#macro(getValue $key)
#set($v = $util.get($item, $key).trim())
#if($v && ("$!v" != ""))
#else
#noInformation()
#end
#end
#macro(getList $listName)
#set($items = $util.getList($item, "$listName"))
#if ($items && $items.size() > 0)
#set($i = 0)
#foreach($el in $items)
#if($i > 0), #else #set($i = 1) #end
#end
#else
#noInformation()
#end
#end
#macro(display $key $name)
$name:
#set($v = $util.get($item, $key).trim())
#if($v && ("$!v" != ""))
#else
#noInformation()
#end
#end
#macro(displayNote $key $name)
#set($v = $util.get($item, $key).trim())
#if($v && ("$!v" != ""))
$name
#end
#end
#macro(displayRow $key $name $c $type)
$name:
#if ( $type == "list" ) #getList($key) #else #getValue($key) #end
#end
##Used in footer
#set ($projectName = $util.get($item, "dc:title"))
Data management plan
Data management planning toolkit
Data management plan
#parse( "sections/overview.vm" )
#parse( "sections/people.vm" )
Data storage
#display("vivo:Dataset.dc:extent.prefLabel" "Expected size of the data collected")
#display("vivo:Dataset.dc:location.rdf:PlainLiteral.prefLabel" "Storage location")
#displayNote("vivo:Dataset.dc:location.skos:note" "Storage location note")
#display("vivo:Dataset.dc:source.dc:location.rdf:PlainLiteral.prefLabel" "Location of the master version")
#displayNote("vivo:Dataset.dc:source.dc:location.skos:note" "Location of the master version note")
Ethics and sensitivities
#display("agls:policy.dc:identifier" "Ethics approval number")
#displayNote("agls:policy.skos:note" "Information about ethical considerations relevant to this project and how they will be managed")
## agls:protectiveMarking.dc:type is saved from checkbox, sepecial treat
#set($itemList = $util.getList($item, "agls:protectiveMarking.dc:type"))
- Type of sensitivity
-
#if ($itemList.size() > 0)
#set($i = 0)
#foreach($key in $itemList.keySet())
#set($display_value = "--")
#set($key_value = $itemList.get($key).get($key))
#if ($key_value == "agls:protectiveMarking.dc:type.redbox:CulturallySensitive")
#set($display_value = "Culturally sensitive")
#elseif($key_value == "agls:protectiveMarking.dc:type.redbox:CommerciallySensitive")
#set($display_value = "Commercially sensitive")
#elseif($key_value == "agls:protectiveMarking.dc:type.redbox:SecurityClassified")
#set($display_value = "Security classified")
#elseif($key_value == "agls:protectiveMarking.dc:type.redbox:NonPublic")
#set($display_value = "Non-public")
#elseif($key_value != 'null')
#set($display_value = $key_value)
#end
#if( $!display_value != "" && $display_value != "--")
#if($i > 0),#end $display_value#set($i = $i + 1)#end
#end
#else
#noInformation()
#end
#displayNote("agls:protectiveMarking.skos:note" "Information about privacy, confidentiality or sensitivity to the data and how it will be managed")
Ownership, licensing and IP
- In which country will your data be collected:
## Convert country codes to labels
## pseudo code
## prepare all keys which need values
## get key and value pairs
## loop through
##http://115.146.93.157/mint/default/api/query.script?callType=countries&func=detail&id=http://id.loc.gov/vocabulary/countries/ag,http://id.loc.gov/vocabulary/countries/at
#set($forList = $util.getList($item, "dc:coverage.dc:identifier"))
#if ($forList.size() > 0)
#set($codes = "")
#foreach($key in $forList.keySet())
#set($code = $forList.get($key).get("country"))
#if($codes == "")
#set($codes = $code)
#else
#set($codes = "$codes,$code")
#end
#end
#set($labels = $util.getMintLabels($systemConfig, "Countries_Detail", $codes))
#if ($labels.size() > 0)
-
#set($i = 0)
#foreach($v in $labels)
#if ($i > 0),#end #set($i = $i +1)
#end
#else
#noInformation()
#end
#else
#noInformation()
#end
#displayNote("dc:rightsHolder.dc:name.prefLabel" "Copyright and intellectual property owners")
#displayNote("dc:rightsHolder.dc:description" "List of any other owners")
#displayNote("redbox:ContractualObligations" "Information about contractual obligations that apply to this data")
About the data
#displayNote("vivo:Dataset.redbox:MetadataStandard" "Metadata standards used")
#displayNote("vivo:Dataset.redbox:DataStructureStandard" "Standards applied to the data structure")
#displayNote("vivo:Dataset.redbox:DataCollectionMethodology" "Please provide a brief description of your data collection methodology")
#displayNote("vivo:Dataset.redbox:DataCollectionResources" "Software/equipment used to create/collect the data")
#displayNote("vivo:Dataset.redbox:DataAnalysisResources" "Software/equipment used to manipulate/analyse the data")
#display("vivo:Dataset.dc.format.prefLabel" "Predominant file format")
#display("vivo:Dataset.dc.format.other" "Other format used")
Data licensing and access
#display("dc:accessRights" "Access will be managed by")
#display("dataLicensingAccess.manager" "The data manager is recorded as")
#display("dc:license.skos:prefLabel" "The data will be licensed under")
#display("dc:license.dc:identifier.other" "Other")
#display("dc:license.dc:identifier.url" "URL")
#displayNote("dc:RightsStatement" "Additional asserted statement of rights")
#displayNote("dc:rights.skos:note" "Other relevant information (e.g. access procedures)")
Data retention and disposal
#display("redbox:retentionPeriod.dc:date.prefLabel" "Applicable retention period (*)")
#display("redbox:retentionPeriod.dc:date.skos:note.prefLabel" "Justification for extended retention period")
#display("redbox:disposalDate" "Earliest possible disposal date")