• forked:平成22年国勢調査人口等基本集計(総務省統計局) 第31表 世帯人員(7区分),65歳以上世帯員の有無別一般世帯数 - 全国,都道府県,市町村
Import an externally hosted application
Check style

  • JavaScript
  • CSS
  • HTML
  • Images
  • Input Data
  • ReadMe
  • forked:平成22年国勢調査人口等基本集計(総務省統計局) 第31表 世帯人員(7区分),65歳以上世帯員の有無別一般世帯数 - 全国,都道府県,市町村
  • jquery-1.7.1.min.js  
  •  
  • history

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
/*
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() {
    var limit = 5;
    var count = 0;
    $.each(LinkData.getWorks(), function(workKey, workValue) {
        $("#result").append("<h3>Work: " + workValue + "</h3>");
        $.each(LinkData.getFiles(workValue), function(fileKey, fileValue) {
            $("#result").append("<h4>File: " + fileValue + "</h4>");
            $.each(LinkData.getSubjects(workValue, fileValue), function(subjKey, subjValue) {
                count = 0;
                $.each(LinkData.getProperties(workValue, fileValue), function(propKey, propValue) {
                    if(count++ > limit) {
                        return false;
                    }
                    $("#result").append("<div style='padding-top:10px;'>Subject : " + subjValue + "</div>");
                    $("#result").append("<div style='padding-left:10px;'>Property : " + propValue + "</div>");
                    $("#result").append("<div style='padding-left:20px;'>Objects</div>");
                    $.each(LinkData.getObjects(workValue, fileValue, subjValue, propValue), function(objKey, objValue) {
                        $("#result").append("<div style='padding-left:30px;'>" + objValue + "</div>");
                    });
                });
            });
        });
    });
};
 
jquery-1.7.1.min.js
Playing...

jquery-1.7.1.min.js