From: Alex Sadleir Date: Sat, 22 Jun 2013 06:52:26 +0000 Subject: Add public ranking listing, link charts better X-Git-Url: https://maxious.lambdacomplex.org/git/?p=disclosr.git&a=commitdiff&h=b2a4f893331253cf17473822d2e1c4792b7d191d --- Add public ranking listing, link charts better Former-commit-id: 889d2d51a7712e7454f582b671b6142d619ad672 --- --- a/about.php +++ b/about.php @@ -5,6 +5,10 @@

About/FAQ

+Document Dump icon designed by Iconathon, 2013 +Contact us: maxious@lambdacomplex.org + +Exports: All Agencies Agency Employee Headcounts

Attributions

National Archives of Australia, Australian Governments’ Interactive Functions Thesaurus, 2nd edition, September 2005, published at http://www.naa.gov.au/recordkeeping/thesaurus/index.htm
data.gov.au http://data.gov.au/dataset/directory-gov-au-full-data-export/
--- a/admin/refreshDesignDoc.php +++ b/admin/refreshDesignDoc.php @@ -40,6 +40,9 @@ $obj->views->byURL->map = "function(doc) {\n emit(doc.url, doc);\n}"; $obj->views->agency->map = "function(doc) {\n emit(doc.agencyID, doc);\n}"; $obj->views->byWebServer->map = "function(doc) {\n emit(doc.web_server, doc);\n}"; + +$obj->views->datasets->map = "function(doc) {\nif (doc.fieldName == \"data\") {\n emit(doc._id, doc);\n}\n}"; +$obj->views->datasetGroups->map = "function(doc) {\nif (doc.fieldName == \"data\") {\n doc.metadata[\"data.gov.au Category\"] && doc.metadata[\"data.gov.au Category\"].forEach(function(tag) {\n emit(tag, doc.url); \n });\n}\n}"; $obj->views->getValidationRequired->map = "function(doc) {\nif (doc.mime_type == \"text/html\" \n&& typeof(doc.validation) == \"undefined\") {\n emit(doc._id, doc._attachments);\n}\n}"; $docdb->save($obj, true); --- a/charts.php +++ /dev/null @@ -1,133 +1,1 @@ -get_db('disclosr-agencies'); -?> -
-

Charts

-

Lorem ipsum.

-
-
-
- - - --- /dev/null +++ b/disclosr.iml @@ -1,1 +1,16 @@ + + + + + + + + + + + + + + + --- a/documents/charts.php +++ b/documents/charts.php @@ -13,10 +13,10 @@ ?>

Charts

-

Lorem ipsum.

+

-
+