Difference between revisions of "Expand Statistics"

From TNG_Wiki
Jump to: navigation, search
(Sites using this mod)
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
| mod_summary    = Stats pages for jobs, centuries and veterans
 
| mod_summary    = Stats pages for jobs, centuries and veterans
 
| mod_validation  =  
 
| mod_validation  =  
| mod_last_update = 25 Jul 2019
+
| mod_last_update = 6 Apr 2019
| download_link  = for {{Tv120}}[[media:Expandstats_v12.0.0.4b.zip   | Expand Statistics Version 4b]]
+
| download_link  = for {{Tv120}}[[media:Expand_statistics_5.zip   | Expand Statistics Version 5]]
 
<hr />
 
<hr />
 
| download_stats  =
 
| download_stats  =
Line 12: Line 12:
 
| mod_contact    = [http://adupree.com/wp/1120-2]
 
| mod_contact    = [http://adupree.com/wp/1120-2]
 
| mod_version    =  
 
| mod_version    =  
| related_mods    =  
+
| related_mods    = [[Expand_Search]] [[Display_Jobs_Facts]] [[Sosa]] [[Surname_Statistics]]
 
| use_mod_manager = Yes
 
| use_mod_manager = Yes
 
| manual_install  = No
 
| manual_install  = No
Line 25: Line 25:
  
 
==Introduction==
 
==Introduction==
Display new statistics about your data.
+
Display statistics about your data.
# <b>Occupations</b> - Displays statistics about occupations. (Only shows up if you have [[Display_Jobs_Facts]] installed)
+
# <b>Overview</b> - A variety of old and new statistics.
# <b>By Century</b> - Displays statistics about amounts of individuals by century. (Can be used with [[Sosa]] )
+
# <b>Surnames</b> - Statistics about surnames. (Thanks to Jeff Robinson for permission to use parts of his mod [[Surnames_Statistics)
# <b>Veterans</b> - Displays statistics about veterans.  
+
# <b>Occupations</b> - Statistics about occupations. (Only shows up if you have [[Display_Jobs_Facts]] installed)
 +
# <b>By Century</b> - Statistics about individuals by century. (Can be used with [[Sosa]] )
 +
# <b>Veterans</b> - Statistics about veterans.  
  
<b>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.</b><br>
+
Has a set of filters--place and surnames. Get statistics for everyone from a place or with a surname. Also adds magnifying glasses next to some statistics to show individuals in the tng search if [[Expand_Search]] is installed. The example shows folks by century in my database in Illinois.<br>
 
{|
 
{|
 
|-
 
|-
Line 48: Line 50:
  
 
<h2>Occupations page</h2>
 
<h2>Occupations page</h2>
Page shows up if you have [Display_Jobs_Facts] mod installed.  
+
Page shows up if you have [[Display_Jobs_Facts]] mod installed.  
 
{|
 
{|
 
|-
 
|-
Line 55: Line 57:
  
 
<h2>By Century page</h2>
 
<h2>By Century page</h2>
Page also includes sosa people if you have [Sosa] mod installed.
+
Page gives data by century or decades. Includes stats on age at first marriage and lifespans.
 
{|
 
{|
 
|-
 
|-
Line 89: Line 91:
  
 
== Changes/versions ==
 
== Changes/versions ==
 +
V5 - Adds surnames with permission to incorporate parts of [[Surname_Statistics]]. Fixes All Trees issue. Adds All-USA choice as an option (needs to be chosen on setup).
 
V4b - Fixes wrong stats for media files for some people. <br>
 
V4b - Fixes wrong stats for media files for some people. <br>
 
V4a - Adds surnames into the filters, search magnifying glasses next to some of the states and fixes some incorrect stats
 
V4a - Adds surnames into the filters, search magnifying glasses next to some of the states and fixes some incorrect stats
Line 135: Line 138:
 
$text['averagelifespans'] = "Average Lifespans";
 
$text['averagelifespans'] = "Average Lifespans";
 
$text['lifespan in Years'] = "Lifespan in Years";
 
$text['lifespan in Years'] = "Lifespan in Years";
 +
$text['plusminus50'] = "Plus or minus 50 years";
 +
$text['searchdisclaim'] = "Searches using the provided search button (magnifying glass) provide a <b> restricted set of records </b>using the search function.<br><br> The numbers here include births, baptisms, deaths and burials in the decade or century - hence they will be significantly higher than the search returns.";
 +
$text['byperiod'] =  "By Period";
 +
$text['births'] = "Of Birth";
 +
$text['deaths'] = "Of Death";
 +
$text['insufficient'] = "Insufficient Dates";
 +
$text['filterby'] = "Filter By";
 +
$text['surname'] = "Surname";
 +
$text['allsurnames'] = "All Surnames";
 +
$text['searchdisclaim'] = "Due to how places are recorded, this number can be slightly lower than the search page";
 +
$text["averagemarage"] = "Avg. Age at 1st Marriage";
 +
$text["averagemarage"] = "Avg. Age at 1st Marriage";
 +
$text['Earliest_Birth'] = "Earliest Birth";
 +
$text['Latest_Birth'] = "Latest Birth";
 +
$text['notavailable'] = "N/A";
 
// End Expand Stats
 
// End Expand Stats
 
</pre>
 
</pre>
Line 154: Line 172:
 
| [[User:mkoche|A.S. DuPree]]
 
| [[User:mkoche|A.S. DuPree]]
 
| Mod Developer
 
| Mod Developer
| 12.0.0.4b
+
| 12.0.0.5
 
| 12.0.3
 
| 12.0.3
 
| English
 
| English

Revision as of 00:28, 7 April 2020

Expand Statistics
Summary Stats pages for jobs, centuries and veterans
Validation
Mod Updated 6 Apr 2019
Download link for
TNG 12.0

Expand Statistics Version 5


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 statistics about your data.

  1. Overview - A variety of old and new statistics.
  2. Surnames - Statistics about surnames. (Thanks to Jeff Robinson for permission to use parts of his mod [[Surnames_Statistics)
  3. Occupations - Statistics about occupations. (Only shows up if you have Display_Jobs_Facts installed)
  4. By Century - Statistics about individuals by century. (Can be used with Sosa )
  5. Veterans - Statistics about veterans.

Has a set of filters--place and surnames. Get statistics for everyone from a place or with a surname. Also adds magnifying glasses next to some statistics to show individuals in the tng search if Expand_Search is installed. 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 gives data by century or decades. Includes stats on age at first marriage and lifespans.

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

V5 - Adds surnames with permission to incorporate parts of Surname_Statistics. Fixes All Trees issue. Adds All-USA choice as an option (needs to be chosen on setup). 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";
$text['plusminus50'] = "Plus or minus 50 years";
$text['searchdisclaim'] = "Searches using the provided search button (magnifying glass) provide a <b> restricted set of records </b>using the search function.<br><br> The numbers here include births, baptisms, deaths and burials in the decade or century - hence they will be significantly higher than the search returns.";
$text['byperiod'] =  "By Period";
$text['births'] = "Of Birth";
$text['deaths'] = "Of Death";
$text['insufficient'] = "Insufficient Dates";
$text['filterby'] = "Filter By";
$text['surname'] = "Surname";
$text['allsurnames'] = "All Surnames";
$text['searchdisclaim'] = "Due to how places are recorded, this number can be slightly lower than the search page";
$text["averagemarage"] = "Avg. Age at 1st Marriage";
$text["averagemarage"] = "Avg. Age at 1st Marriage";
$text['Earliest_Birth'] = "Earliest Birth";
$text['Latest_Birth'] = "Latest Birth";
$text['notavailable'] = "N/A";
// 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.5 12.0.3 English
vanheerden.net Emile Administrator 12.0.0.4a 12.1 English
Roots & Relatives Remembered Ron Krzmarzick Public & Private See Here See Here EN,DE,CS,ES
Journeys in Genealogy Patrick Thrush Public WordPress/TNG bundle 12.0.0.4 12.1 English