Advanced

Re: Tool needed - Number of Logs overview for impact study

[Cancelled] Tool needed - Number of Logs overview for impact study
January 24, 2019 10:20AM
Hello guys,

unusual request and apologies, if I'm using wrong forum.

What is needed
Not a checker, but a script - tool, which would provide overview: number of finds per year, on all the caches in the bookmark list. Mock-up of desired HTML output:



Desired config:
- bookmark list

Examples:
https://www.geocaching.com/bookmarks/view.aspx?code=BM3G9A4
https://www.geocaching.com/bookmarks/view.aspx?code=BM3G9EY
https://www.geocaching.com/bookmarks/view.aspx?code=BM3G9HY


Nice to have config:
- start_date (possibility to limit first year in the output)
- end_date (possibility to limit last year in the output - e.g. exclude 2019)
- types (array, possibility to exclude Earthcaches, for example)
- exclude_archived (boolean, possibility to exclude archived caches from the output)

Why we need it
One of our national parks will change conditions for Geocaching soon. We need to comment their suggestion and persuade them to reach better conditions, not as strict as they propose. We'd like to back our arguments with data. I have list of existing, impacted geocaches in three bookmarks.

Known alternatives
- I'm able to create this in GSAK, or Virtual GPS with help of Excel functions and macros. Takes time & it's just one time exercise.
- LogsReceivedOverTime statistics - gives us only chart, not numbers behind. Takes time to prep for all the caches.

Benefits
Many users, local organizations can benefit from such tool in future.

Thank you for reading and hopefully, for help.

Matus / Rikitan / FitReviewer, for Association of Slovak Geocachers
Re: Tool needed - Number of Logs overview for impact study
January 24, 2019 10:45AM
Don't think this is possible with the LUA interface. GetFinds() will only return the ones that you've found (so you can access num_finds per GC code) and GetHides() will return the hides knowing the CO of the cache (once again to get num_finds). GetBookmarklist() only returns the list of GC codes and there's no way to get the CO information from that. So we either need to get the CO as well via GetBookmarklist() or a new method eg. GetCacheDetails($gccode, $params) to get the details/number of finds. Hmm, but even that won't give you the breakdown in years unless this new method has a filter for minVisitDate and maxVisitDate.

Edit: appears this is possible if the profile against which the script is run has found all the caches in the bookmark list. If so, the following needs to happen: GetBookmarklist() to get all the caches, GetFinds() to get all the finds for the profile and the cache owner of each of the caches, followed by GetHides() to get all (hopefully) the cache finds of that cache. It would be easier if there's a new method GetCacheDetails() to get hold of the CO for the cache.



Edited 1 time(s). Last edit at 01/24/2019 11:10AM by pieterix. (view changes)
Re: Tool needed - Number of Logs overview for impact study
January 24, 2019 11:24AM
pieterix Wrote:
-------------------------------------------------------

> Edit: appears this is possible if the profile
> against which the script is run has found all the
> caches in the bookmark list. If so, the following
> needs to happen: GetBookmarklist() to get all the
> caches, GetFinds() to get all the finds for the
> profile and the cache owner of each of the caches,
> followed by GetHides() to get all (hopefully) the
> cache finds of that cache. It would be easier if
> there's a new method GetCacheDetails() to get hold
> of the CO for the cache.

Thank you .. got it :(
Profile Rizmani is most prolific one, but he still has only around 80% of caches from individual bookmarks.
Seems I'll need to play with GSAK macros, or Excel tables instead.
Sorry, only registered users may post in this forum.

Click here to login