GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Is there a way to make a graph of a village's population?

Click to view RSS...
Author
Posted Monday, April 6, 2015 - Post #34883
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Thursday, May 8, 2025
Posts: 264, Visits: 1,758
Looks good :-)

All 5 of those duplicates disappeared, and don't see any others.  Thank you!
Posted Monday, April 6, 2015 - Post #34882
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 9:20 PM
Posts: 3,429, Visits: 26,548
Don't think it is hyperlinks causing the issue but a bit more fine tuning required.  Watch this space...

Well a wee bit more rigorous with the testing with the attached version so perhaps third time lucky but no promises!





'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Population.zip (4 views, 3.38 KB)
Posted Sunday, April 5, 2015 - Post #34880
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Thursday, May 8, 2025
Posts: 264, Visits: 1,758
Thanks for the update...
Can you help me understand something from the report?  I see multiple iterations of some people.  Are they being double counted when I use them as hyperlinks between genomaps?  I've replaced their names with {a..e} and the village is {z}.



ind00037 1941-2015 a @ z
ind00037 1941-1967 a @ z

ind00173 1949-2015 b @ z
ind00173 1949-2015 b @ z

ind00249 1983-2015 c @ z
ind00249 1983-2006 c @ z

ind00251 1991-2015 d @ z
ind00251 1991-2006 d @ z

ind02055 1944-2015 e @ z
ind02055 1944-2010 e @ z
Posted Saturday, April 4, 2015 - Post #34876
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 9:20 PM
Posts: 3,429, Visits: 26,548
Did a little more testing and noticed one or two oddities with messages e.g. when death & disposition present also had problems with Scripting Dictionary used to hold places so chnaged to javascript object instead.  Revised version in later post.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Monday, April 6, 2015 by genome
Posted Saturday, April 4, 2015 - Post #34873
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Thursday, May 8, 2025
Posts: 264, Visits: 1,758
Awesome! .. Thank you .. had pasted it one row ahead of where it should be.

Looks like it works great :-)
Posted Saturday, April 4, 2015 - Post #34872
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 9:20 PM
Posts: 3,429, Visits: 26,548
function addIn(place, start, end, inc, birth, death, movein, moveout, dec) {
   // accumulate totals for each year of occupancy in a place 
   Report.LogComment(obj.ID + ' ' + start + '-' + end + ' ' + obj.Name + ' @ ' + places[place]);
   if (start < FirstYear) FirstYear = start;
 


Click the Status Bar option under NotePad's View menu and you will have a line and column count bottom right Smile


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Saturday, April 4, 2015 - Post #34871
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Thursday, May 8, 2025
Posts: 264, Visits: 1,758
Thank you for the added explanations :-)

I'm editing stats.js with Notepad, and it doesn't provide the line count.  I entered the line you provided after what I thought the 15th line was, but the output did not change.  Can you provide a bit more context as to where that line should go?

Thank you also for the suggestion to include an Individual Custom Tag.
Posted Friday, April 3, 2015 - Post #34870
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 9:20 PM
Posts: 3,429, Visits: 26,548
I assume the count is of the first of each year?

A counter is incremented when an event occurs within that year, so e.g. if born on 31st Dec 1903, 1 is added to population and birth count for 1903, even though only one day left in year.

As to checking who has contributed to the data, I suggest you add an Individual Custom Tag and use it as a marker to manually keep check.  The script could easily be amended to output say ID, dates,name and place to Report Log for cross checking your markers. 

e.g. after line 15 in stats.js put the line

Report.LogComment(obj.ID + ' ' + start + '-' + end + ' ' + obj.Name + ' @ ' + places[place]);


p.s. if you open the output file population.csv with MS Excel non ASCII place names will look strange as it stupidly does not recognise it as being UTF-8 encoded as GenoPro does not put a BOM (byte order mark) at the start of the file. Just open the file with Notepad and save it again to add the BOM and Excel will be happy Smile


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Friday, April 3, 2015 - Post #34869
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Thursday, May 8, 2025
Posts: 264, Visits: 1,758
Wow, that works great ... Thank you so much!  Thank you for making it so easy to include multiple locations :-)

Would there be any way to include a list of names of which people are included in the population counts?  Or do you have another suggestion on how I can keep track of who's location history has been input?  I tend to start and stop my genealogy research, so it would be nice to easily check who I've completely input, and who I haven't.

I assume the count is of the first of each year?

Thank you in advance!
Posted Thursday, April 2, 2015 - Post #34866
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Thursday, May 8, 2025
Posts: 264, Visits: 1,758
Wow .. you are awesome .. I will try it out and let you know how it works :-) .. Thank you so much!!


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 1 - 1 guest, 0 members, 0 anonymous.
Refresh
No members currently viewing this topic!