Language
ログイン
言語設定
X
English
日本語 [Japanese]
アプリの説明へ
JAXA宇宙航空データカタログ(ベータ3版)
いいね!
3
Loading...
/* This is a Example program to retrieve and display the data. Press the Run button on the right of the screen (described the behavior of the Example program below). Please create a new application rewrite this program work. */ window.onload = function() { $("#result").html("<table class='display' id='data_list'></table>" ); $('#data_list').dataTable({ "aoColumns": [ { "sTitle": "Title" }, { "sTitle": "Homepage" }, { "sTitle": "Description", "sWidth": "200px" ,"sClass": "desc"}, { "sTitle": "Reference" }, { "sTitle": "keyword" } ], "aaSorting": [[2,"desc"]], "bJQueryUI": true, "bAutoWidth": false }); $.each(LinkData.getWorks(), function(workKey, workValue) { $.each(LinkData.getFiles(workValue), function(fileKey, fileValue) { $.each(LinkData.getSubjects(workValue, fileValue), function(subjKey, subjValue) { var propertiesArray = Array(5); propertiesArray[0]=LinkData.getObjects(workValue, fileValue, subjValue, "http://purl.org/dc/terms/title")[0]; propertiesArray[1]=LinkData.getObjects(workValue, fileValue, subjValue, "http://xmlns.com/foaf/0.1/homepage")[0]; propertiesArray[2]=LinkData.getObjects(workValue, fileValue, subjValue, "http://purl.org/dc/terms/description"); propertiesArray[3]=""; $.each(LinkData.getObjects(workValue, fileValue, subjValue, "http://purl.org/dc/terms/references"), function(objKey, objValue){ if (objKey == 0){ propertiesArray[3] += objValue; }else{ propertiesArray[3] += "\n"+objValue; } }); propertiesArray[4]=""; $.each(LinkData.getObjects(workValue, fileValue, subjValue, "http://www.w3.org/ns/dcat#keyword"), function(objKey, objValue){ if (objKey == 0){ propertiesArray[4] += objValue; }else{ propertiesArray[4] += ", "+objValue; } }); $('#data_list').dataTable().fnAddData(propertiesArray); }); }); }); };
table#data_list { width: 2000px; border: 1px #E3E3E3 solid; border-collapse: collapse; border-spacing: 0; } table#data_list th { padding: 5px; border: #E3E3E3 solid; border-width: 0 0 1px 1px; background: #F5F5F5; font-weight: bold; line-height: 120%; text-align: left; } table#data_list td { padding: 5px; border: 1px #E3E3E3 solid; border-width: 0 0 1px 1px; text-align: left; }
<div id="result"></div>
実行画面
入力データ
概要
保存した実行結果
データ作品
テーブルデータ
JAXA宇宙航空データリスト
作者:Hiro_Tateshita
更新日:2013年1月29日
762 ダウンロード, 1 アプリケーション
宇宙航空研究開発機構(JAXA)が所有する宇宙および航空に関連するデータのうち、地球観測衛星を中心として外部機関と何らかの形で共有しているデータの一部をリスト化しを公開します。(2013年1月時点)。今後宇宙航空データのオープン化を促進するきっかけにしていきたいと思います。
space_data_list_beta
データ作品を追加する
Link http://app.linkdata.org/run/app1s220i?tab=readme
Initial content
jquery-1.7.1.min.js
http://datatables.net/download/build/jquery.dataTables.min.js
Work
追加
クリア
insert work id or work name.