https://github.com/zooniverse/zoo-classification-tally
Outreach event counter for Zooniverse projects
https://github.com/zooniverse/zoo-classification-tally
Last synced: 4 months ago
JSON representation
Outreach event counter for Zooniverse projects
- Host: GitHub
- URL: https://github.com/zooniverse/zoo-classification-tally
- Owner: zooniverse
- Created: 2018-09-25T16:23:47.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T17:24:54.000Z (about 2 years ago)
- Last Synced: 2024-04-15T23:07:36.958Z (about 2 years ago)
- Language: JavaScript
- Homepage: https://tally.zooniverse.org/
- Size: 759 KB
- Stars: 2
- Watchers: 9
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Classification tally
A counter which shows the number of classifications on a project by a single user.
https://tally.zooniverse.org/
## Modifying the behaviour of the Tally app
You can change the behaviour of the app by passing in parameters via the website URL. In particular you can Only show details for:
1. A particular project
0. A particular user
2. Or modify what default text is shown on the screen
https://tally.zooniverse.org?project_id=[projectid]&user_id=[userid]
https://tally.zooniverse.org?project_id=[projectid]&username=[username]
https://tally.zooniverse.org?project_id=[projectid]&text=[Show me this text]
Note the above and how query params must start with a `?` character and must be separated with an `&` sign, more details can be found https://en.wikipedia.org/wiki/Query_string
### Query parameters for project
- #### project_id
For example `project_id=4996` (snapshot serengeti)
### Query parameters for user
- #### user_id
For example `user_id=1234`
- #### user_name
For example `user_name=iam1234`
### Query parameters for text
- #### text to display
For example `?text=Show%20me%20this%20text`
## Development and deployment
`npm install` installs dependencies
`npm start` builds and runs the site locally. N.B this runs on local.zooniverse.org to prevent a CORS error while trying to access the Zooniverse stats API.
`npm build` builds index.html and JS files
`npm clean` removes build artefacts