Language
Login
Language Setting
X
English
日本語 [Japanese]
about this App
宮城県石巻市 ごみ出しスケジュール(平成31年度 網地島のみ)
useful
0
Loading...
function aaa() { var cnt_a; var gomi_sch; var youbi; var youbi_n; var kaisuu; var skip; var chk_cnt; var tuki; var objsw; var ym_t=document.js.tuki.value; var ym_tuki = ym_t.substr(5,3); //alert(ym_tuki); var tuki_a; if (ym_tuki == "4月") { tuki_a = 0; } else if (ym_tuki == "5月") { tuki_a = 1; } else if (ym_tuki == "6月") { tuki_a = 2; } else if (ym_tuki == "7月") { tuki_a = 3; } else if (ym_tuki == "8月") { tuki_a = 4; } else if (ym_tuki == "9月") { tuki_a = 5; } else if (ym_tuki == "10月") { tuki_a = 6; } else if (ym_tuki == "11月") { tuki_a = 7; } else if (ym_tuki == "12月") { tuki_a = 8; } else if (ym_tuki == "1月") { tuki_a = 9; } else if (ym_tuki == "2月") { tuki_a = 10; } else if (ym_tuki == "3月") { tuki_a = 11; } var tuki_tbl = [ // 0 ["4月",30,"月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水"], ["5月",31,"水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金"], ["6月",30,"土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日"], ["7月",31,"月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水"], ["8月",31,"木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土"], ["9月",30,"日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月"], ["10月",31,"火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木"], ["11月",30,"金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土"], ["12月",31,"日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火"], ["1月",31,"水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金"], ["2月",29,"土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土"], ["3月",31,"日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火","水","木","金","土","日","月","火"] ]; for (i=1; i<=8; i++) // 1 { for(p=0; p<=32; p++) { myTBL.rows[i].cells[p].innerText = ""; // 2 } } for (i=1; i<=tuki_tbl[tuki_a][1]+2; i++) // 1 { myTBL.rows[1].cells[i-1].innerText = tuki_tbl[tuki_a][i-1]; // 2 } cnt_a = 2; skip = 0; objsw = 0; var keyword = getParameterFromURL("subject"); // obtain keyword from the URL "?subject=" $.each(LinkData.getWorks(), function(workKey, workValue) { $.each(LinkData.getFiles(workValue), function(fileKey, fileValue) { $.each(LinkData.getSubjects(workValue, fileValue), function(subjKey, subjValue) { $.each( LinkData.getTriplesBySubject(workValue, fileValue, subjValue), function( tripleKey, tripleValue ) { var prop = tripleValue.property; var objValue = tripleValue.object; tuki = objValue; if (tuki == ym_tuki) { // 3 objsw = 1; skip = 1; youbi_n = tuki_a; // 4 //alert(objsw); } //alert(skip); //alert(objValue); if (objsw == 1) { if (skip == 1) { myTBL.rows[cnt_a].cells[0].innerText = tuki; //skip++; }else if (skip==2){ //alert(objValue); myTBL.rows[cnt_a].cells[0].innerText = tuki; myTBL.rows[cnt_a].cells[1].innerText = "燃やせるごみ"; gomi_sch = objValue.split("|"); //alert(gomi_sch.length); for (j=0; j<=gomi_sch.length-1; j++) { youbi = gomi_sch[j].substr(0,1); kaisuu = gomi_sch[j].substr(1,1); ss = kaisuu.replace(/[A-Za-z0-9]/g, function(s) { return String.fromCharCode(s.charCodeAt(0) - 0xFEE0); }); kaisuu = Number(ss); chk_cnt = 0; for (k=2; k<=tuki_tbl[youbi_n][1] + 1; k++) { if (tuki_tbl[youbi_n][k] == youbi) { chk_cnt++; //alert(youbi); //alert(chk_cnt + " " + kaisuu); if(chk_cnt == kaisuu) { myTBL.rows[cnt_a].cells[k].innerText = "v"; } } //alert(k); } //alert(j); } //alert("skip=2"); cnt_a++; //skip++; }else if (skip==3) { //alert(objValue); myTBL.rows[cnt_a].cells[0].innerText = tuki; myTBL.rows[cnt_a].cells[1].innerText = "ペットボトル"; //alert(objValue); gomi_sch = objValue.split("|"); for (j=0; j<=gomi_sch.length-1; j++) { youbi = gomi_sch[j].substr(0,1); kaisuu = gomi_sch[j].substr(1,1); ss = kaisuu.replace(/[A-Za-z0-9]/g, function(s) { return String.fromCharCode(s.charCodeAt(0) - 0xFEE0); }); kaisuu = Number(ss); chk_cnt = 0; for (k=2; k<=tuki_tbl[youbi_n][1] + 1; k++) { if (tuki_tbl[youbi_n][k] == youbi) { chk_cnt++; if(chk_cnt == kaisuu) { myTBL.rows[cnt_a].cells[k].innerText = "v"; } } } } cnt_a++; //skip++; }else if (skip==4) { //alert(objValue); myTBL.rows[cnt_a].cells[0].innerText = tuki; myTBL.rows[cnt_a].cells[1].innerText = "あき缶"; //alert(objValue); gomi_sch = objValue.split("|"); for (j=0; j<=gomi_sch.length-1; j++) { youbi = gomi_sch[j].substr(0,1); kaisuu = gomi_sch[j].substr(1,1); ss = kaisuu.replace(/[A-Za-z0-9]/g, function(s) { return String.fromCharCode(s.charCodeAt(0) - 0xFEE0); }); kaisuu = Number(ss); chk_cnt = 0; for (k=2; k<=tuki_tbl[youbi_n][1] + 1; k++) { if (tuki_tbl[youbi_n][k] == youbi) { chk_cnt++; if(chk_cnt == kaisuu) { myTBL.rows[cnt_a].cells[k].innerText = "v"; } } } } cnt_a++; //skip++; }else if (skip==5) { //alert(objValue); myTBL.rows[cnt_a].cells[0].innerText = tuki; myTBL.rows[cnt_a].cells[1].innerText = "あき瓶・スプレー・ガスカートリッジ"; //alert(objValue); gomi_sch = objValue.split("|"); for (j=0; j<=gomi_sch.length-1; j++) { youbi = gomi_sch[j].substr(0,1); kaisuu = gomi_sch[j].substr(1,1); ss = kaisuu.replace(/[A-Za-z0-9]/g, function(s) { return String.fromCharCode(s.charCodeAt(0) - 0xFEE0); }); kaisuu = Number(ss); chk_cnt = 0; for (k=2; k<=tuki_tbl[youbi_n][1] + 1; k++) { if (tuki_tbl[youbi_n][k] == youbi) { chk_cnt++; if(chk_cnt == kaisuu) { myTBL.rows[cnt_a].cells[k].innerText = "v"; } } } } cnt_a++; //skip++; }else if (skip==6) { //alert(objValue); myTBL.rows[cnt_a].cells[0].innerText = tuki; myTBL.rows[cnt_a].cells[1].innerText = "古着・布類"; //alert(objValue); gomi_sch = objValue.split("|"); for (j=0; j<=gomi_sch.length-1; j++) { youbi = gomi_sch[j].substr(0,1); kaisuu = gomi_sch[j].substr(1,1); ss = kaisuu.replace(/[A-Za-z0-9]/g, function(s) { return String.fromCharCode(s.charCodeAt(0) - 0xFEE0); }); kaisuu = Number(ss); chk_cnt = 0; for (k=2; k<=tuki_tbl[youbi_n][1] + 1; k++) { if (tuki_tbl[youbi_n][k] == youbi) { chk_cnt++; if(chk_cnt == kaisuu) { myTBL.rows[cnt_a].cells[k].innerText = "v"; } } } } cnt_a++; //skip++; }else if (skip==7) { //alert(objValue); myTBL.rows[cnt_a].cells[0].innerText = tuki; myTBL.rows[cnt_a].cells[1].innerText = "雑紙・新聞..."; //alert(objValue); gomi_sch = objValue.split("|"); for (j=0; j<=gomi_sch.length-1; j++) { youbi = gomi_sch[j].substr(0,1); kaisuu = gomi_sch[j].substr(1,1); ss = kaisuu.replace(/[A-Za-z0-9]/g, function(s) { return String.fromCharCode(s.charCodeAt(0) - 0xFEE0); }); kaisuu = Number(ss); chk_cnt = 0; for (k=2; k<=tuki_tbl[youbi_n][1] + 1; k++) { if (tuki_tbl[youbi_n][k] == youbi) { chk_cnt++; if(chk_cnt == kaisuu) { myTBL.rows[cnt_a].cells[k].innerText = "v"; } } } } cnt_a++; //skip++; }else if (skip==8) { //alert(objValue); myTBL.rows[cnt_a].cells[0].innerText = tuki; myTBL.rows[cnt_a].cells[1].innerText = "燃やせないごみ..."; //alert(objValue); gomi_sch = objValue.split("|"); for (j=0; j<=gomi_sch.length-1; j++) { youbi = gomi_sch[j].substr(0,1); kaisuu = gomi_sch[j].substr(1,1); ss = kaisuu.replace(/[A-Za-z0-9]/g, function(s) { return String.fromCharCode(s.charCodeAt(0) - 0xFEE0); }); kaisuu = Number(ss); chk_cnt = 0; for (k=2; k<=tuki_tbl[youbi_n][1] + 1; k++) { if (tuki_tbl[youbi_n][k] == youbi) { chk_cnt++; if(chk_cnt == kaisuu) { myTBL.rows[cnt_a].cells[k].innerText = "v"; } } } } cnt_a++; //skip++; objsw = 0; } } skip++; }); }); }); }); } // Get a parameter value in URL (e.g. ?paramString=value ) function getParameterFromURL( paramString ) { var value = ""; var topWindow = top.window.location.search; if( topWindow ){ var q = decodeURIComponent(topWindow.substring(1,topWindow.length)).split("&"); for ( var i = 0; i < q.length; i++ ){ var r = q[i].split("="); if ( r[0] == paramString ) value = r[1]; } } return value; }
span.highlight {color: red;} span.propertyName {color: gray;} span.subject { color: blue; } span.object{ color: black; } body { background: white; } a, a span { text-decoration: underline; } a:hover, a span:hover { text-decoration: none; }
<form name="js" onContextmenu="return false"> <p><font size="3">調べたい年月:<input type="text" name="tuki" list="data3" value="平成31年4月"></p> <datalist id="data3"> <option value="平成31年4月"></option> <option value="平成31年5月"></option> <option value="平成31年6月"></option> <option value="平成31年7月"></option> <option value="平成31年8月"></option> <option value="平成31年9月"></option> <option value="平成31年10月"></option> <option value="平成31年11月"></option> <option value="平成31年12月"></option> <option value="平成32年1月"></option> <option value="平成32年2月"></option> <option value="平成32年3月"></option> </datalist> <font size="3"><input type="button" value="表示" onclick="aaa()"><br> </form> <H2>網地島 ごみ出しスケジュール</H2> <table id="myTBL" border="1"> <tbody> <tr> <th>月度</th> <th>ごみの種別</th> <th>1日</th> <th>2日</th> <th>3日</th> <th>4日</th> <th>5日</th> <th>6日</th> <th>7日</th> <th>8日</th> <th>9日</th> <th>10日</th> <th>11日</th> <th>12日</th> <th>13日</th> <th>14日</th> <th>15日</th> <th>16日</th> <th>17日</th> <th>18日</th> <th>19日</th> <th>20日</th> <th>21日</th> <th>22日</th> <th>23日</th> <th>24日</th> <th>25日</th> <th>26日</th> <th>27日</th> <th>28日</th> <th>29日</th> <th>30日</th> <th>31日</th> </tr> <tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr> <tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr> <tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr> <tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr> <tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr> <tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr> <tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr> <tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr> </tbody> </table>
Preview
Input Data
ReadMe
Snapshots
LinkData Work
Table Data
宮城県石巻市 ごみ出しスケジュール(平成31年度)
Contributor:石巻市, ICT総合推進課
Update:Apr 17, 2019
679 Downloads, 2 Applications
平成31年度 収集日程 注)網地島の収集スケジュールを分離し、"sch_ajishima_H31nendo"としました。網地島の収集スケジュールは通年このデータを参照してください。 1.データの説明 (1)地区と収集地区の対応表・・・・・・・・・Collection_area_H31nendo 説明:地域がどの収集地区に所属しているかを定義したデータ。 (2)ごみ出しスケジュール(1月を除く) ・・・sch_without_Jan_H31nendo 説明:収集地区毎、ごみの種類毎の収集スケジュールデータ。平成32年1月を除く平成31年度のデータとなります。網地島地区を除きます。 (3)ごみ出しスケジュール(1月) ・・・・・・sch_Jan_H31nendo 説明:収集地区毎、ごみの種類毎の収集スケジュールデータ。平成32年1月のデータとなります。網地島地区を除きます。 (4)ごみ出しスケジュール(網地島) ・・・・sch_ajishima_H31nendo 説明:網地島のごみ種類ごとの収集スケジュールデータ。網地島地区の収集スケジュールについてはこのテーブルを参照してください。 (5)例外・・・・・・・・・・・・・・・・・・Exception_H31nendo 説明:項番2及び3で定義した収集スケジュールの内、年末年始休業等で収集日を変える/中止する等の例外対応をする計画です。例えば石巻B地区の平成31年12月31日は(火)で燃やせるごみの収集日ですが、年末の休業により中止とする事になります。。収集日を決定する際、スケジュールと併せてこのデータをチェックする必要があります。なお網地島に関しては収集スケジュールを分離しましたので、この表にはありません。 (6)分別の仕方・・・・・・・・・・・・・・・Classification_H31nendo 説明:ごみの品名毎にどのごみの種類に該当するか定義したデータです。 (7)連絡先・・・・・・・・・・・・・・・・・Contact_H31nendo 2.ごみの種類について ごみの種類毎に収集スケジュールが決まっています。ごみを出す際には分別の仕方に従ってごみの種類を決める訳ですが、そのごみの種類について定義します。 (1)雑紙・新聞・雑誌・古本・ダンボール・紙パック (2)燃やせるごみ (3)あき缶 (4)あきびん・スプレー・ガスカートリッジ (5)ペットボトル (6)燃やせないごみ・金属・有害ごみ (7)古着・布類 粗大ごみの収集日は配布用のカレンダーには説明欄に記述がありますが、粗大ごみを誤ってごみ集積場所に出される事を防ぐ為オープンデータからは外しています。アプリでデータを活用する場合は上記(1)~(7)のごみの種類を使っていただくようお願いします。 3.スケジュールの文法について スケジュールをデータに現す時に使う文法について説明します。 (1)ある月の全てのある曜日を示す場合 曜日 例)月 ある月の全ての月曜日を意味します。 (2)ある月の第n曜日を示す場合 曜日+n(nは全角) 例)水2 ある月の第2水曜日を意味します。 (3)連結 曜日を”|”で連結します。 ケース1:曜日|曜日|曜日 ケース2:曜日n|曜日m(nとmは全角) 例)月|木 ある月の全ての月曜日と木曜日を意味します。 例)水2|水4 ある月の第2水曜日と第4水曜日を意味します。
Classification_H31nendo
Collection_area_H31nendo
Contact_H31nendo
Exception_H31nendo
sch_Jan_H31nendo
sch_ajishima_H31nendo
sch_without_Jan_H31nendo
Add LinkData work(LinkData)
Link http://app.linkdata.org/run/app1s1733i?tab=readme
jquery-1.11.2.min.js
Work
Add
Clear
insert work id or work name.