Comments (10)
Dave,
What is the second figure for each volunteer in the second link ?
Ta
Paul
On 23 September 2014 13:57, Dave Martin [email protected] wrote:
Compare
http://volunteer.ala.org.au/user/list?q=&sort=transcribedCount&max=10&order=desc
to
http://volunteer.ala.org.au/ws/stats
e.g.
Megan Edey 4,638 18636 2 years ago
vs
"Megan Edey", 23274,
—
Reply to this email directly or view it on GitHub
#44.
from volunteer-portal.
This is not contradictory. The web service returns a combined transcribed + validation count (23274 in this case for Megan). The user stats page splits the validated from the transcribed (4638 + 18636 = 23274). In the stats, the second number is the internal user id of the user, and should be ignored. This stats web service could be updated to include separate transcribed and validated figures, and should remove the internal user id, as it is of no use to anyone outside of the system.
The stats service could also be expanded to include other stats, like date joined, and time of last activity if desired.
from volunteer-portal.
Unless there are any responses to Dave B's comment I'm just going to close this issue.
If the stats web service should be updated to:
- include separate transcribed and validated figures
- to remove the internal user id
- include other stats like date joined and time of last activity
then please raise a separate issue.
from volunteer-portal.
I think this web service as it is is pretty useless for the user counts. I suggest we split the counts as Dave describes.
"This stats web service could be updated to include separate transcribed and validated figures".
If we want to class this as an enhancement thats fine.
from volunteer-portal.
@djtfmartin the new stats format would be the following
note that each user is now a map instead of an array. Is that OK or should it be left as an array for compatibility with any existing clients?
[
{"total":27443,"validated":22805,"transcribed":4638,"displayName":"Megan Edey","userId":"1142"},
{"total":22180,"validated":9305,"transcribed":12875,"displayName":"Baz Walter","userId":"4710"},
{"total":12152,"validated":0,"transcribed":12152,"displayName":"Teresa Van Der Heul","userId":"1058"},
{"total":11690,"validated":8687,"transcribed":3003,"displayName":"Helen Bell","userId":"4213"},
{"total":9555,"validated":2570,"transcribed":6985,"displayName":"Reiner Richter","userId":"1370"},
{"total":9107,"validated":0,"transcribed":9107,"displayName":"Grahame Parsons","userId":"7484"},
{"total":7496,"validated":1567,"transcribed":5929,"displayName":"Diana Gershwin","userId":"3458"},
{"total":7118,"validated":1222,"transcribed":5896,"displayName":"Geoffrey Berry","userId":"4538"},
{"total":6127,"validated":3641,"transcribed":2486,"displayName":"Jim Richardson","userId":"1186"},
{"total":4868,"validated":1583,"transcribed":3285,"displayName":"Joy Pagon","userId":"1566"}
]
from volunteer-portal.
This is now available at http://volunteer-dev.ala.org.au/ws/stats
from volunteer-portal.
sorry for not responding to the earlier question. I dont think anything is consuming this service currently, so if you want to go with the map format (which looks better to me), go for it.
Once it is ready, I was going to suggest we add it as a widget in the ALA dashboard.
from volunteer-portal.
Apologies, this was not actually deployed to dev when I wrote the above message but it is now.
Re: adding it as a widget to the dashboard, would that get proxied through a server or would we need to add CORS/JSONP support as well?
from volunteer-portal.
CORS support makes sense and is easy to add with this plugin
from volunteer-portal.
looks good to me. closing
from volunteer-portal.
Related Issues (20)
- Validator skip task results in error when none left
- Manage institutions search filter is reset with pagination
- Cacheable annotation no longer allows groovy null check
- Moving template field with no order down results in null pointer exception
- Picklist update has no transaction
- Delete validation rule has no transaction
- Disabling random project of the day results in JS error
- Deleting opted out user has no transaction
- Creating tag/category has no transaction
- Creating user report results in transaction required exception
- Recent and featured forum topics shows duplicated rows HOT 1
- Create new user on account creation
- Feature Request: Allow volunteers to subscribe to a mailing list for an institution's new expeditions HOT 3
- Refactor executor plugin code with native Grails
- Markdown plugin no longer exists/maintained
- Institution Page: List by Default
- Expedition descriptions are "long description" rather than "short description"
- User report shows False for site admins
- Stats CSVs reporting a day behind
- DigiVol Request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from volunteer-portal.