From 2ba705c898aa607f30edd438762de34b8368e3e0 Mon Sep 17 00:00:00 2001 From: francis Date: Tue, 11 Aug 2009 16:50:50 +0000 Subject: Add missing states. --- script/request-creation-graph | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) (limited to 'script/request-creation-graph') diff --git a/script/request-creation-graph b/script/request-creation-graph index 7a6b4a383..609411b10 100755 --- a/script/request-creation-graph +++ b/script/request-creation-graph @@ -5,7 +5,7 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org. WWW: http://www.mysociety.org/ # -# $Id: request-creation-graph,v 1.6 2008-05-09 01:34:24 francis Exp $ +# $Id: request-creation-graph,v 1.7 2009-08-11 16:50:50 francis Exp $ GPLOT_OUTPUT="set terminal png font 'Vera.ttf' 9 size 1200,400" EXTENSION=".png" @@ -31,6 +31,10 @@ SOURCED=/tmp/foi-creation-rate-graph-data-$RANDOM$RANDOM SOURCEE=/tmp/foi-creation-rate-graph-data-$RANDOM$RANDOM SOURCEF=/tmp/foi-creation-rate-graph-data-$RANDOM$RANDOM SOURCEG=/tmp/foi-creation-rate-graph-data-$RANDOM$RANDOM +SOURCEH=/tmp/foi-creation-rate-graph-data-$RANDOM$RANDOM +SOURCEI=/tmp/foi-creation-rate-graph-data-$RANDOM$RANDOM +SOURCEJ=/tmp/foi-creation-rate-graph-data-$RANDOM$RANDOM +SOURCEK=/tmp/foi-creation-rate-graph-data-$RANDOM$RANDOM GPSCRIPT=/tmp/foi-creation-rate-graph-script-$RANDOM$RANDOM # where status in ('draft') @@ -54,14 +58,11 @@ grab_data "where described_state not in ('waiting_response', 'waiting_clarificat grab_data "where described_state not in ('waiting_response', 'waiting_clarification', 'not_held', 'rejected')" $SOURCEE grab_data "where described_state not in ('waiting_response', 'waiting_clarification', 'not_held', 'rejected', 'successful')" $SOURCEF grab_data "where described_state not in ('waiting_response', 'waiting_clarification', 'not_held', 'rejected', 'successful', 'partially_successful')" $SOURCEG - - -#state = 'unconfirmed' -#or state = 'confirmed' -#or state = 'fixed' -#or state = 'hidden' -#or state = 'flickr' - +grab_data "where described_state not in ('waiting_response', 'waiting_clarification', 'not_held', 'rejected', 'successful', 'partially_successful', 'requires_admin')" $SOURCEH +grab_data "where described_state not in ('waiting_response', 'waiting_clarification', 'not_held', 'rejected', 'successful', 'partially_successful', 'requires_admin', 'gone_postal')" $SOURCEI +grab_data "where described_state not in ('waiting_response', 'waiting_clarification', 'not_held', 'rejected', 'successful', 'partially_successful', 'requires_admin', 'gone_postal', 'internal_review')" $SOURCEJ +grab_data "where described_state not in ('waiting_response', 'waiting_clarification', 'not_held', 'rejected', 'successful', 'partially_successful', 'requires_admin', 'gone_postal', 'internal_review', 'error_message')" $SOURCEK +#user_withdrawn cat >$GPSCRIPT <$GPSCRIPT < foi/public/foi-live-creation$EXTENSION -- cgit v1.2.3