GeoDB::Display::Top10.3pm

Langue: en

Version: 2008-11-19 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

Sommaire

NAME

top10 - Analyze the data set to count fields of similar types

DESCRIPTION

START HELP

The top10 dispaly plugin counts the values in a particular field and shows you the top10 results of the counts in that field.

Example (defaults to counting the top 10 waypoint owners):

   > geoqo -s any: -d top10
   Top 10 'groundspeak_owner_name's
    Num    % Value
   ----------------------------------------------------------------------
   22    4 BootyBuddies
   20    4 sailorscodgers
   17    3 retiredprof
   16    3 two bison
   14    2 Sac D
   14    2 Oldhippy & Granny
   13    2 TRAKD
   12    2 rivercity
   11    2 2Dee2Dee
   10    2 jimlips
   10    2 Pirate Princesses
 
 

Example: counting container types

   > geoqo -s any: -d top10:groundspeak_container
   Top 10 'groundspeak_container's
    Num    % Value
   ----------------------------------------------------------------------
    234   50 Micro
    103   22 Regular
     92   19 Small
     13    2 Not chosen
     12    2 Other
     10    2 Virtual
      4    0 Large
 
 

Setting the ``doaverage'' parameter will also display the average value associated with a numeric field:

   > geoqo -s 'cache:owner_name=Yamar' -d top10:groundspeak_difficulty,doaverage=1
   Top 10 'groundspeak_difficulty's
    Num    % Value
   ----------------------------------------------------------------------
     14   38 2
      9   25 1.5
      6   16 1
      3    8 2.5
      2    5 3
      1    2 4
      1    2 3.5
   Average: 1.90278
 
 

END HELP