Repository navigation
Expand file tree
/
Copy pathbiddsat.php
More file actions
181 lines (159 loc) · 10.8 KB
/
Copy pathbiddsat.php
File metadata and controls
181 lines (159 loc) · 10.8 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<?php
// BIDDSAT - BIoDiversity DataSet Assessment Tool
// Copyright (C) 2012 Javier Otegui
// This file is part of BIDDSAT.
// BIDDSAT is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// BIDDSAT is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with BIDDSAT. If not, see <http://www.gnu.org/licenses/>.
// Contact: javier.otegui@gmail.com
session_start();
$db = $_SESSION['db'];
$prov = $_SESSION['prov'];
$dataset = $_SESSION['dataset'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>BIDDSAT: Biodiversity Datasets Assessment Tool</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script src="./files/scripts.js" type="text/javascript"></script>
<!-- Imported from UNAV -->
<link rel="stylesheet" href="./files/style.css" type="text/css" />
<link rel="stylesheet" href="./files/interna_sin_anexo.css" type="text/css" />
<link rel="shortcut icon" href="http://www.unav.es/favicon.ico" />
<!-- End of import block -->
</head>
<body onload="populatePublishers('',<?php echo "'".$db."','".$prov."','".$dataset."'"; ?>)"><div id="documento">
<div id="cabecera">
<!--<div id="foto-esquina"><div style="position:relative; z-index:1; width:100%;">
<img src="http://www.unav.es/evento/voluntarios-ambientales/files/slideshowmodule/interiores_ES/blanco_160_75.jpg" />
</div></div>-->
<div id="nombre-catedra">
<table>
<tr>
<td id="catedra-td">
<h1 id="catedra">
Biodiversity Datasets Assessment Tool
</h1>
<span id="fac">
<a href="http://www.unav.es/departamento/unzyec/" title="Dept. Zoology and Ecology">
DEPT. ZOOLOGY AND ECOLOGY
</a>
</span>
</td>
</tr>
</table>
</div>
<div id="logotipo"><a href="http://www.unav.es" title="Universidad de Navarra"><img src="http://www.unav.es/evento/voluntarios-ambientales/themes/unavcongresotheme/imagenes/marca-page.png" alt="Universidad de Navarra" /></a></div>
</div>
<p id="instructions">
First, select the database version you want to assess. Then, start typing the name or ID of a data publisher. If you want to assess the content of a specific collection, start typing its name or ID. Be careful: some visualizations are not allowed for individual collections.
</p>
<p id="divbase">
Database version:<br>
<select name="db" id="db" onClick="storeDB()" onChange="checkVersionChange()" tabindex="1">
<?php
$datadb=scandir('./data/');
array_shift($datadb);
array_shift($datadb);
$datadb=array_reverse($datadb);
for ($i=0; $i<count($datadb); $i++) {
echo "\t".'<option value="'.$datadb[$i].'"';
if ($db==$datadb[$i]) {
echo ' selected="selected" ';
}
echo '>'.substr($datadb[$i],5,4)." / ".substr($datadb[$i],9,2).'</option>'."\n";
}
?>
</select>
</p>
<p id="divprov_new">
<div id="availablePublishers">Start typing to filter the select box. Available publishers:</div>
<p id="provspar">
<input type="text" name="filterprov" id="filterprov" size="50%" onkeyup="if(this.value!=''){populatePublishers()}" autocomplete="off" tabindex="2">
<input type="button" value="Clear" onclick="removeFilter('publishers')"><br>
<select id="provs" size="1" onfocus="populateCollections(this.options[this.selectedIndex].value)" onclick="populateCollections(this.options[this.selectedIndex].value)" tabindex="3">
</select>
</p>
<p id="divdataset_new">
<div id="availableCollections">Start typing to filter the select box. Available collections:</div>
<p id="datasetspar">
<input type="text" name="filterdataset" id="filterdataset" size="50%" onkeyup="if(this.value!=''){populateCollections()}" autocomplete="off" tabindex="4">
<input type="button" value="Clear" onclick="removeFilter('collections')"><br>
<select id="datasets" size="1" tabindex="5">
</select>
</p>
<input type="button" value="Restart" onclick="window.location='./logout.php?redir=main'" tabindex="6">      
<input type="button" value="Exit" onclick="window.location='./logout.php?redir=index'" tabindex="7">
<hr>
Now, please click on the visualization type (hover to see longer description):<br><br>
<table width="100%" bgcolor="lightgrey" style="border-width:thin; border-style:solid;"><tr height="30"></tr>
<td width="20%"
title="General volume and feature completion information on the publisher/collection. If only publisher is selected, completion plots are shown."
align="center" onmouseover="this.bgColor='grey'" onmouseout="this.bgColor='lightgrey'" onclick="checker('info')"><img src="./icons/info3.png" width="100" /><br><font size="1">Info</font></td>
<td width="20%"
title="Number of records for each collection. This assessment can only be performed over the general content of a publisher, not over individual collections. Type: Pie Chart."
align="center" onmouseover="this.bgColor='grey'" onmouseout="this.bgColor='lightgrey'" onclick="checker('recsperres')"><img src="./icons/pie1.png" width="100"/><br><font size="1">Records per dataset</font></td>
<td width="20%"
title="Number of records declared as Observations, Museum specimens or any of the other types by the publisher. Type: Pie Chart."
align="center" onmouseover="this.bgColor='grey'" onmouseout="this.bgColor='lightgrey'" onclick="checker('recsperbasis')"><img src="./icons/types4.png" width="100"/><br><font size="1">Records per type</font></td>
<td width="20%"
title="Number of data collections according to the declared type of record (observations, specimens...). This assessment can only be performed over the general content of a publisher, not over individual collections. Type: Pie Chart."
align="center" onmouseover="this.bgColor='grey'" onmouseout="this.bgColor='lightgrey'" onclick="checker('resperbasis')"><img src="./icons/pie2.png" width="100"/><br><font size="1">Collections per type of record</font></td>
<td width="20%"
title="Map showing the density of records. Projection is equirectangular. Color follows a cold-hot exponential scale, dark blue representing only 1 record and brown representing more than 2048 records for the same lat-lon combination."
align="center" onmouseover="this.bgColor='grey'" onmouseout="this.bgColor='lightgrey'" onclick="checker('map')"><img src="./icons/map.png" width="100"/><br><font size="1">Map</font></td>
</tr>
<tr height="10"></tr>
<tr>
<td width="20%"
title="Distribution of records among declared countries. Country values follow the ISO-3166-1 alpha-2 code, which assigns a unique combination of two letters to each country. Type: Pie Chart."
align="center" onmouseover="this.bgColor='grey'" onmouseout="this.bgColor='lightgrey'" onclick="checker('recspercountry')"><img src="./icons/countries.png" width="100"/><br><font size="1">Records per country</font></td>
<td width="20%"
title="Number of records declared to be sampled each year from 1750 to present. Volume of records can be represented over an arithmetic or logarithmic axis. Type: Scatter Plot."
align="center" onmouseover="this.bgColor='grey'" onmouseout="this.bgColor='lightgrey'" onclick="checker('recsperyear')"><img src="./icons/filtered.png" width="100"/><br><font size="1">Records per year (Filtered)</font></td>
<td width="20%"
title="Number of records declared to be sampled each year, with no filtering for feasible years. Volume of records can be represented over an arithmetic or logarithmic axis. Type: Scatter Plot."
align="center" onmouseover="this.bgColor='grey'" onmouseout="this.bgColor='lightgrey'" onclick="checker('recsperyearall')"><img src="./icons/unfiltered.png" width="100"/><br><font size="1">Records per year (All)</font></td>
<td width="20%"
title="Distribution of record density for each day-of-year. Type:Hebdoplot."
align="center" onmouseover="this.bgColor='grey'" onmouseout="this.bgColor='lightgrey'" onclick="checker('recsdomvsmonth')"><img src="./icons/Year.png" width="100"/><br><font size="1">Record density, day of year</font></td>
<td width="20%"
title="Distribution of record density for each day-of-week and each month. Type:Hebdoplot."
align="center" onmouseover="this.bgColor='grey'" onmouseout="this.bgColor='lightgrey'" onclick="checker('recsdowvsmonth')"><img src="./icons/Week.png" width="100"/><br><font size="1">Record density, day of week</font></td>
</tr>
<tr height="10"></tr>
<tr>
<td width="20%"
title="Average value of the record volume for each day-of-year among years, +/- Standard Error. Type: Scatter Plot."
align="center" onmouseover="this.bgColor='grey'" onmouseout="this.bgColor='lightgrey'" onclick="checker('recsperdayofyear')"><img src="./icons/avg.png" width="100"/><br><font size="1">Average records among years</font></td>
<td width="20%"
title="Temporal distribution of records. Each dot represents a unique date. Radius reflects year (center=1750, perimeter=now) and clockwise angle from vertical reflects day-of-year (0�=Jan-1, 359�=Dec-31). Color follows a cold-hot exponential scale, dark blue representing only 1 record and brown representing more than 2048 records."
align="center" onmouseover="this.bgColor='grey'" onmouseout="this.bgColor='lightgrey'" onclick="checker('diatom')"><img src="./icons/chronh.png" width="100"/><br><font size="1">Chronhorogram</font></td>
<td width="20%"
title="Number of records declared to belong to each taxonomic kingdom. Type: Pie Chart."
align="center" onmouseover="this.bgColor='grey'" onmouseout="this.bgColor='lightgrey'" onclick="checker('recsperkingdom')"><img src="./icons/kingdom.png" width="100"/><br><font size="1">Records per kingdom</font></td>
<td width="20%"
title="Nested surface map where size of the cell reflects number of species name strings belonging to that taxonomic group. Color enhances comparisons between kingdoms."
align="center" onmouseover="this.bgColor='grey'" onmouseout="this.bgColor='lightgrey'" onclick="checker('spetreemap')"><img src="./icons/treemapT.png" width="100"/><br><font size="1">Tree Map of Taxonomy</font></td>
<td width="20%"
title="Nested surface map where size of the cell reflects number of records belonging to that taxonomic group. Color enhances comparisons between kingdoms."
align="center" onmouseover="this.bgColor='grey'" onmouseout="this.bgColor='lightgrey'" onclick="checker('rectreemap')"><img src="./icons/treemapR.png" width="100"/><br><font size="1">Tree Map of Records</font></td>
</tr><tr height="30"></tr></table>
<p>
<hr>
<i><table width="100%"><tr><td>
For any help you need, <a href="mailto:javier.otegui@SPAMBLOCKgmail.com">give a little whistle</a>
</td><td align="right">
v0.3 (<a href="changelog.txt" target="_blank">changelog</a>)
</td></tr></table></i>
</div>
</body>
</html>