[submodule "couchdb/couchdb-lucene"] | [submodule "couchdb/couchdb-lucene"] |
path = couchdb/couchdb-lucene | path = couchdb/couchdb-lucene |
url = https://github.com/rnewson/couchdb-lucene.git | url = https://github.com/rnewson/couchdb-lucene.git |
[submodule "couchdb/settee"] | [submodule "couchdb/settee"] |
path = couchdb/settee | path = couchdb/settee |
url = https://github.com/inadarei/settee.git | url = https://github.com/inadarei/settee.git |
[submodule "lib/php-diff"] | [submodule "lib/php-diff"] |
path = lib/php-diff | path = lib/php-diff |
url = https://github.com/chrisboulton/php-diff.git | url = https://github.com/chrisboulton/php-diff.git |
[submodule "lib/Requests"] | [submodule "lib/Requests"] |
path = lib/Requests | path = lib/Requests |
url = https://github.com/rmccue/Requests.git | url = https://github.com/rmccue/Requests.git |
[submodule "js/flotr2"] | [submodule "js/flotr2"] |
path = js/flotr2 | path = js/flotr2 |
url = https://github.com/HumbleSoftware/Flotr2.git | url = https://github.com/HumbleSoftware/Flotr2.git |
[submodule "lib/phpquery"] | [submodule "lib/phpquery"] |
path = lib/phpquery | path = lib/phpquery |
url = https://github.com/TobiaszCudnik/phpquery.git | url = https://github.com/TobiaszCudnik/phpquery.git |
[submodule "js/sigma"] | [submodule "js/sigma"] |
path = js/sigma | path = js/sigma |
url = https://github.com/jacomyal/sigma.js.git | url = https://github.com/jacomyal/sigma.js.git |
[submodule "js/bubbletree"] | [submodule "js/bubbletree"] |
path = js/bubbletree | path = js/bubbletree |
url = https://github.com/okfn/bubbletree.git | url = https://github.com/okfn/bubbletree.git |
[submodule "lib/querypath"] | [submodule "lib/querypath"] |
path = lib/querypath | path = lib/querypath |
url = https://github.com/technosophos/querypath.git | url = https://github.com/technosophos/querypath.git |
[submodule "lib/amon-php"] | |
path = lib/amon-php | |
url = https://github.com/martinrusev/amon-php.git | |
<?php | <?php |
include_once('include/common.inc.php'); | include_once('include/common.inc.php'); |
include_header('About'); | include_header('About'); |
?> | ?> |
<div class="foundation-header"> | <div class="foundation-header"> |
<h1><a href="about.php">About/FAQ</a></h1> | <h1><a href="about.php">About/FAQ</a></h1> |
<h4 class="subheader">Lorem ipsum.</h4> | <h4 class="subheader">Lorem ipsum.</h4> |
</div> | </div> |
<h2> What is this? </h2> | <h2> What is this? </h2> |
Disclo.gs is a project to monitor Australian Federal Government agencies | Disclo.gs is a project to monitor Australian Federal Government agencies |
compliance with their <a href="http://www.oaic.gov.au/publications/other_operational/foi_policy_frequently_asked_questions.html#_Toc291837571">"proactive disclosure requirements" to make a transparency league table as suggested by gov2 taskforce http://gov2.net.au/blog/2009/09/19/a-league-ladder-of-psi-openness/</a>. | compliance with their <a href="http://www.oaic.gov.au/publications/other_operational/foi_policy_frequently_asked_questions.html#_Toc291837571">"proactive disclosure requirements" to make a transparency league table as suggested by gov2 taskforce http://gov2.net.au/blog/2009/09/19/a-league-ladder-of-psi-openness/</a>. |
<h2> Attributions </h2> | <h2> Attributions </h2> |
National Archives of Australia, Australian Governments’ Interactive Functions Thesaurus, 2nd edition, September 2005, published at http://www.naa.gov.au/recordkeeping/thesaurus/index.htm. | National Archives of Australia, Australian Governments’ Interactive Functions Thesaurus, 2nd edition, September 2005, published at http://www.naa.gov.au/recordkeeping/thesaurus/index.htm <br/> |
data.gov.au http://data.gov.au/dataset/directory-gov-au-full-data-export/ <br/> | |
directory.gov.au <br/> | |
australia.gov.au http://australia.gov.au/about/copyright <br/> | |
<h2> Open everything </h2> | <h2> Open everything </h2> |
All documents released CC-BY 3 AU | All documents released CC-BY 3 AU |
Open source git @ | Open source git @ |
<h2>Organisational Data Sources</h2> | <h2>Organisational Data Sources</h2> |
http://www.comlaw.gov.au/Browse/Results/ByTitle/AdministrativeArrangementsOrders/Current/Ad/0 defines departments | http://www.comlaw.gov.au/Browse/Results/ByTitle/AdministrativeArrangementsOrders/Current/Ad/0 defines departments |
Agencies can be found in the Schedule to an Appropriation Bill (budget), Schedule to FMA Regulations and/or Public Service Act.<br> | Agencies can be found in the Schedule to an Appropriation Bill (budget), Schedule to FMA Regulations and/or Public Service Act.<br> |
http://www.finance.gov.au/publications/flipchart/docs/FMACACFlipchart.pdf summarises these. view-source:https://www.tenders.gov.au/?event=public.advancedsearch.home is great for the suspended/active status<br> | http://www.finance.gov.au/publications/flipchart/docs/FMACACFlipchart.pdf summarises these. view-source:https://www.tenders.gov.au/?event=public.advancedsearch.home is great for the suspended/active status<br> |
Fraud in gov depts by Fairfax Media http://www.smh.com.au/national/public-service-keeps-fraud-cases-private-20110923-1kpdr.html | Fraud in gov depts by Fairfax Media http://www.smh.com.au/national/public-service-keeps-fraud-cases-private-20110923-1kpdr.html |
When defining the hierachy, this system is designed towards monitoring accountablity. Thus large agencies that have registered their own ABN | When defining the hierachy, this system is designed towards monitoring accountablity. Thus large agencies that have registered their own ABN |
and have their own accountablity mechanisms/website receive a seperate record as a child of their department. | and have their own accountablity mechanisms/website receive a seperate record as a child of their department. |
Some small agencies will choose to simply rely on their parent department's accountablity measures.<br> | Some small agencies will choose to simply rely on their parent department's accountablity measures.<br> |
This flows through to organisation name and other/past names. A department that completely accounts for an agency will list that agency as an other child name. | This flows through to organisation name and other/past names. A department that completely accounts for an agency will list that agency as an other child name. |
As agencies themselves shift between departments, there may be scope for providing time ranges but typically the newest hierarchy will be the one recorded. | As agencies themselves shift between departments, there may be scope for providing time ranges but typically the newest hierarchy will be the one recorded. |
A department/agency name will be the newest active name assigned to that ABN.<br> | A department/agency name will be the newest active name assigned to that ABN.<br> |
ABN information is derived from the ABR. This is the definitive umpire about which former name should be linked to which current name. | ABN information is derived from the ABR. This is the definitive umpire about which former name should be linked to which current name. |
For example "Department of Transport and Regional Services" became "Department of Infrastructure, Transport, Regional Development and Local Government" (same ABN) | For example "Department of Transport and Regional Services" became "Department of Infrastructure, Transport, Regional Development and Local Government" (same ABN) |
however it later split into "Department of Infrastructure and Transport" (same ABN) | however it later split into "Department of Infrastructure and Transport" (same ABN) |
and "Department of Regional Australia, Regional Development and Local Government" (new ABN).<br> | and "Department of Regional Australia, Regional Development and Local Government" (new ABN).<br> |
Statistical information from http://www.apsc.gov.au/stateoftheservice/1011/statsbulletin/section1.html#t2total https://www.apsedii.gov.au/apsedii/CustomQueryx33.shtml | Statistical information from http://www.apsc.gov.au/stateoftheservice/1011/statsbulletin/section1.html#t2total https://www.apsedii.gov.au/apsedii/CustomQueryx33.shtml |
and individual annual reports.<br> | and individual annual reports.<br> |
<h2>Webpage Assessment</h2> | <h2>Webpage Assessment</h2> |
Much due care has been put into correctly recording disclosure URLs. Typically the "About", "Corporate", "Publications" and "Sitemap" sections are checked at the very least. | Much due care has been put into correctly recording disclosure URLs. Typically the "About", "Corporate", "Publications" and "Sitemap" sections are checked at the very least. |
Occasionally it is nessicary to use a site or Google search. In several rare cases, there is a secret "Disclosure" navigation menu you can find if you find one of the mandatory publishing obligations in that category (seriously).<br> | Occasionally it is nessicary to use a site or Google search. In several rare cases, there is a secret "Disclosure" navigation menu you can find if you find one of the mandatory publishing obligations in that category (seriously).<br> |
Some rules about leniency:<br> | Some rules about leniency:<br> |
<ul> | <ul> |
<li>An empty FOI disclosure log counts, a page outlining what the FOI Act is does not.</li> | <li>An empty FOI disclosure log counts, a page outlining what the FOI Act is does not.</li> |
<li>A disclosure log in PDF or Word format counts :(</li> | <li>A disclosure log in PDF or Word format counts :(</li> |
<li>An empty File/Record list counts (although that's very minimalistic that you have no files, electronic or paper)</li> | <li>An empty File/Record list counts (although that's very minimalistic that you have no files, electronic or paper)</li> |
<li>Only a current information publication scheme page counts, not a s.9 FOI Act page or an organisation chart.</li> | <li>Only a current information publication scheme page counts, not a s.9 FOI Act page or an organisation chart.</li> |
<li>If there isn't a page easily listing all current and past Annual Reports, the most current one (html, pdf) counts.</li> | <li>If there isn't a page easily listing all current and past Annual Reports, the most current one (html, pdf) counts.</li> |
<li>Consultancy contracts might not need it's own webpage (if in Annual Report), grants/appointments might not apply to all organisations but Legal Services Expenditure (and all other obligations) does need a webpage. </li> | <li>Consultancy contracts might not need it's own webpage (if in Annual Report), grants/appointments might not apply to all organisations but Legal Services Expenditure (and all other obligations) does need a webpage. </li> |
<h2>Open Government Scoring</h2> | <h2>Open Government Scoring</h2> |
+1 point for every true Has... attribute<br> | +1 point for every true Has... attribute<br> |
-1 point for every false Has... (ie. Has Not) attribute</br> | -1 point for every false Has... (ie. Has Not) attribute</br> |
Don't like this? Make your own score, suggest a better scoring mechanism.</br> | Don't like this? Make your own score, suggest a better scoring mechanism.</br> |
<?php | <?php |
include_footer(); | include_footer(); |
?> | ?> |
<?php | |
require_once '../include/common.inc.php'; | |
$db = $server->get_db('disclosr-agencies'); | |
$rows = $db->get_view("app", "byName")->rows; | |
$nametoid = Array(); | |
$accounts = Array(); | |
foreach ($rows as $row) { | |
$nametoid[trim($row->key)] = $row->value; | |
} | |
function extractCSVAccounts($url, $nameField, $accountField, $filter) { | |
global $accounts, $nametoid; | |
$request = Requests::get($url); | |
echo $url; | |
$Data = str_getcsv($request->body, "\n"); //parse the rows | |
$headers = Array(); | |
foreach ($Data as $num => $line) { | |
$Row = str_getcsv($line, ","); | |
if ($num == 0) { | |
$headers = $Row; | |
print_r($headers); | |
} else { | |
if (isset($Row[array_search($nameField, $headers)])) { | |
$agencyName = $Row[array_search($nameField, $headers)]; | |
if (!in_array(trim($agencyName), array_keys($nametoid))) { | |
echo "$agencyName missing" . PHP_EOL; | |
} else { | |
echo $Row[array_search($nameField, $headers)] . PHP_EOL; | |
$accounts[$nametoid[trim($agencyName)]]["rtkURLs"][$agencyName] = 'http://www.righttoknow.org.au/body/'.$Row[array_search($accountField, $headers)]; | |
} | |
} else { | |
echo "error finding any agency" . $line . PHP_EOL; | |
} | |
} | |
} | |
} | |
extractCSVAccounts("http://www.righttoknow.org.au/body/all-authorities.csv","Agency","URL name"); | |
print_r($accounts); | |
/* foreach ($accounts as $id => $accountTypes) { | |
echo $id . "<br>" . PHP_EOL; | |
$doc = object_to_array($db->get($id)); | |
// print_r($doc); | |
foreach ($accountTypes as $accountType => $accounts) { | |
if (!isset($doc["has" . $accountType]) || !is_array($doc["has" . $accountType])) { | |
$doc["has" . $accountType] = Array(); | |
} | |
$doc["has" . $accountType] = array_unique(array_merge($doc["has" . $accountType], $accounts)); | |
} | |
$db->save($doc); | |
}*/ | |
?> | |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
"http://www.w3.org/TR/html4/loose.dtd"> | "http://www.w3.org/TR/html4/loose.dtd"> |
<html> | <html> |
<head> | <head> |
<title>Demo of the tree layout in D3.js</title> | <title>Demo of the tree layout in D3.js</title> |
<!-- source: http://blog.pixelingene.com/demos/d3_tree/ | <!-- source: http://blog.pixelingene.com/demos/d3_tree/ |
http://javadude.wordpress.com/2012/06/20/d3-js-from-tree-to-cluster-and-radial-projection/ | http://javadude.wordpress.com/2012/06/20/d3-js-from-tree-to-cluster-and-radial-projection/ |
http://bl.ocks.org/1249394--> | http://bl.ocks.org/1249394--> |
<style> | <style> |
g.node { | g.node { |
font-family: Verdana, Helvetica; | font-family: Verdana, Helvetica; |
font-size: 12px; | font-size: 12px; |
font-weight: bold; | font-weight: bold; |
} | } |
circle.node-dot { | circle.node-dot { |
fill: lightsalmon; | fill: lightsalmon; |
stroke: red; | stroke: red; |
stroke-width: 1px; | stroke-width: 1px; |
} | } |
path.link { | path.link { |
fill: none; | fill: none; |
stroke: gray; | stroke: gray; |
} | } |
</style> | </style> |
</head> | </head> |
<body> | <body> |
<div id="tree-container"></div> | <div id="tree-container"></div> |
<div id="viz"></div> | <div id="viz"></div> |
<script type="text/javascript" src="../javascripts/jquery-1.6.2.min.js"></script> | <script type="text/javascript" src="../js/jquery-1.6.2.min.js"></script> |
<script type="text/javascript" src="../javascripts/d3.min.js"></script> | <script type="text/javascript" src="../js/d3.min.js"></script> |
<script type="text/javascript" src="../javascripts/d3.layout.min.js"></script> | <script type="text/javascript" src="../js/d3.layout.min.js"></script> |
<script> | <script> |
/** | /** |
* Created by JetBrains RubyMine. | * Created by JetBrains RubyMine. |
* User: pavanpodila | * User: pavanpodila |
* Date: 7/17/11 | * Date: 7/17/11 |
* Time: 4:30 PM | * Time: 4:30 PM |
* To change this template use File | Settings | File Templates. | * To change this template use File | Settings | File Templates. |
*/ | */ |
var treeData = | var treeData = |
<?php | <?php |
// $json = file_get_children('naa-agift.json'); | // $json = file_get_children('naa-agift.json'); |
// $raw = json_decode($json); | // $raw = json_decode($json); |
// echo $json; | // echo $json; |
// print_r($raw); | // print_r($raw); |
$raw = json_decode('[ | $raw = json_decode('[ |
"Home", | "Home", |
"index.htm", | "index.htm", |
[ | [ |
"BUSINESS SUPPORT AND REGULATION", | "BUSINESS SUPPORT AND REGULATION", |
"000411.htm", | "000411.htm", |
[ | [ |
"Association registration", | "Association registration", |
"000396.htm" | "000396.htm" |
], | ], |
[ | [ |
"Business process auditing", | "Business process auditing", |
"000413.htm" | "000413.htm" |
], | ], |
[ | [ |
"Business registration and licensing", | "Business registration and licensing", |
"000414.htm" | "000414.htm" |
], | ], |
[ | [ |
"Business sponsorship", | "Business sponsorship", |
"001371.htm" | "001371.htm" |
], | ], |
[ | [ |
"Consumer protection", | "Consumer protection", |
"000439.htm" | "000439.htm" |
], | ], |
[ | [ |
"Fair trading compliance", | "Fair trading compliance", |
"000482.htm", | "000482.htm", |
[ | [ |
"Prices surveillance", | "Prices surveillance", |
"000533.htm" | "000533.htm" |
], | ], |
[ | [ |
"Product safety", | "Product safety", |
"000534.htm" | "000534.htm" |
], | ], |
[ | [ |
"Trade practices compliance", | "Trade practices compliance", |
"000583.htm" | "000583.htm" |
] | ] |
], | ], |
[ | [ |
"Financial institutions regulation", | "Financial institutions regulation", |
"000485.htm" | "000485.htm" |
], | ], |
[ | [ |
"Government procurement regulation", | "Government procurement regulation", |
"000491.htm" | "000491.htm" |
], | ], |
[ | [ |
"Industry assistance schemes", | "Industry assistance schemes", |
"000499.htm" | "000499.htm" |
], | ], |
[ | [ |
"Industry development", | "Industry development", |
"000500.htm" | "000500.htm" |
], | ], |
[ | [ |
"Insurance regulation", | "Insurance regulation", |
"000501.htm", | "000501.htm", |
[ | [ |
"General insurance", | "General insurance", |
"000489.htm" | "000489.htm" |
], | ], |
[ | [ |
"Life insurance", | "Life insurance", |
"000505.htm" | "000505.htm" |
] | ] |
], | ], |
[ | [ |
"Professional accreditation", | "Professional accreditation", |
"000535.htm" | "000535.htm" |
], | ], |
[ | [ |
"Small business services", | "Small business services", |
"000565.htm", | "000565.htm", |
[ | [ |
"Small business advocacy", | "Small business advocacy", |
"000563.htm" | "000563.htm" |
], | ], |
[ | [ |
"Small business development", | "Small business development", |
"000564.htm" | "000564.htm" |
] | ] |
], | ], |
[ | [ |
"Stock market regulation", | "Stock market regulation", |
"000572.htm" | "000572.htm" |
] | ] |
], | ], |
[ | [ |
"CIVIC INFRASTRUCTURE", | "CIVIC INFRASTRUCTURE", |
"000424.htm", | "000424.htm", |
[ | [ |
"Civic management", | "Civic management", |
"000425.htm", | "000425.htm", |
[ | [ |
"Architectural services", | "Architectural services", |
"000387.htm" | "000387.htm" |
], | ], |
[ | [ |
"Building approval services", | "Building approval services", |
"000406.htm" | "000406.htm" |
], | ], |
[ | [ |
"Building regulations and standards", | "Building regulations and standards", |
"000408.htm" | "000408.htm" |
], | ], |
[ | [ |
"Engineering services", | "Engineering services", |
"000477.htm" | "000477.htm" |
], | ], |
[ | [ |
"Town planning", | "Town planning", |
"000582.htm" | "000582.htm" |
] | ] |
], | ], |
[ | [ |