Expand Statistics

From TNG_Wiki
Revision as of 13:55, 3 October 2019 by Mkoche (talk | contribs)
Jump to navigation Jump to search
Expand Statistics
Summary Stats pages for jobs, centuries and veterans
Validation
Mod Updated 25 Jul 2019
Download link for
TNG 12.0

Expand Statistics Version 4b


Download stats
Author(s) A. S. DuPree
Homepage Expand_Statistics (this page)
Mod Support TNG Community Forums
Contact Developer [1]
Latest Mod
Min TNG V
Max TNG V 12
Files modified
statistics.php
Related Mods
Notes
This expands the tng statistics page


Introduction

Display new statistics about your data.

  1. Occupations - Displays statistics about occupations. (Only shows up if you have Display_Jobs_Facts installed)
  2. By Century - Displays statistics about amounts of individuals by century. (Can be used with Sosa )
  3. Veterans - Displays statistics about veterans.

Now with a set of filters--place and surnames--in Version 4a. Get statistics for your database in your top 30 places. Also adds magnifying glasses next to some statistics to show individuals in the tng search. The example shows folks by century in my database in Illinois.

Screen Shot 2019-07-20 at 9.50.26 PM.png

Each of the pages has subpages. For instance, click on the job category and it shows statistics for the jobs within that category. Click on one of the jobs on that page and it takes you to a page to see everyone who has that job. Veterans works in a similar way. The neat thing is that you can now see all the cooks or kings in your data very easily.

The screenshots below give examples of the initial pages from the statistics menu (once installed, you just go to the Statistics page as always and the new options will appear.

The main statistics page also now includes a few extra stats: Average number of children in families, largest family size and average number of identified parents in a family.

New Statistics page

New statistics are underlined in red.

Statsnew.png

Occupations page

Page shows up if you have [Display_Jobs_Facts] mod installed.

Stats1.png

By Century page

Page also includes sosa people if you have [Sosa] mod installed.

Stats2.png

Veterans page

Page requires updating the fields you use for veterans in the mod options.

StatsA3.png

Developer

This mod was developed by A.S. DuPree (a novice, happy for any help on improving it)

Requirements

  • A working TNG installation.
  • An installed current version of the Mod Manager.

Automated Installation

  1. Download the zip file in the status area in the upper right.
  2. Extract the Expand_statistics_v3.zip to your mod folder.
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files .

In the event of a problem with your TNG site

  1. Try using the Mod Manager to Remove the mod

Customizations in Mod Manager

  1. Choose pages to show

Changes/versions

V4b - Fixes wrong stats for media files for some people.
V4a - Adds surnames into the filters, search magnifying glasses next to some of the states and fixes some incorrect stats V4 - Added lifespan by century or decade, fixed some query issues.
V3 - Added filters for places and Sosa (if installed)
V2 - Added tree switching
V1b - Fixed a missing $ in cust_text file.
V1a - Adds new stats to the main stats page, some refinements on the other pages.

Language Customization

Mod currently works in English and French (Thanks Katryne). To customize for your language you need to add the following to the cust_text.php file after you translate the parts after the equal signs.

// Expand Stats
$text['IndOcc'] = "Occupations of Individuals";
$text['Jobs'] = "Jobs";
$text['totalrec'] = "Total Recorded";
$text['jobsmsg'] = "You apparently do not have the mod \"Display Job/Facts\" installed.  This page requires it.";
$text['overview'] = "Overview";
$text['occupations'] = "Occupations";
$text['bycentury'] = "By Century";
$text['veterans'] = "Veterans";
$text['war'] = "War";
$text['numind'] = "Number of Individuals";
$text['allindivs'] = "All Individuals";
$text['totals'] = "Totals";
$text['nobirthdate'] = "No Birth Date";
$text['info'] = "Info";
$text['avgc'] = "Average Number of Children";
$text['avgp'] = "Average Identified Parents";
$text['bigfamily'] = "Largest Family";
$text['Example'] = "Example";
$text['person'] = "Person";
$text['nocats'] = "No Category";
$text['nomom'] = 'No Mother';
$text['nodad'] = "No Father";
$text['citations'] = "Citations";
$text['mostbirths'] = "Most births in";
$text['other'] = "Other";
$text['toplocals'] = "Top 30 places:";
$text['marksosa'] = "Marked as Sosa";
$text['moretotals'] = "More Totals";
$text['allplaces'] = "All Places";
$text['bydecade'] = "By Decade";
$text['ESfilter'] = "filter";
$text['averagelifespans'] = "Average Lifespans";
$text['lifespan in Years'] = "Lifespan in Years";
// End Expand Stats

Sites using this mod

If you download and install this mod, please add your TNG site to the table below:

URL User Note Mod-Version TNG-Version User-language
Adupree.com A.S. DuPree Mod Developer 12.0.0.4b 12.0.3 English
vanheerden.net Emile Administrator 12.0.0.4a 12.1 English
Roots & Relatives Remembered Ron Krzmarzick Public & Private 12.0.0.4a See Here EN,DE,CS,ES
Journeys in Genealogy Patrick Thrush Public WordPress/TNG bundle 12.0.0.4 12.1 English