Skip to content
No description or website provided.
Python Shell CSS HTML
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
output
schema/metrics
src
.gitignore
.green
.lint.sh
.scrub.sh
.test-green.sh
.test.sh
Jenkinsfile
Jenkinsfile.prod
LICENCE.txt
README.md
api-raml.sha1
canary.sh
clear-expired-requests-cache.sh
download-api-raml.sh
download-pmcids.sh
elife.cfg
import-all-ga-metrics.sh
import-all-metrics.sh
import-metrics.sh
install.sh
manage.sh
mkadmin.sh
mkvenv.sh
project_tests.sh
regenerate-results-2016.sh
regenerate-results.sh
requirements.txt
run-bulk.sh
run.sh
smoke_tests.sh
test.sh
update-fixtures.sh

README.md

elife-metrics

An effort by eLife Sciences to provide a data store and API for accessing article-level metrics (views, downloads, citations).

This project uses the Python programming language, the Django web framework and a relational database.

Github repo.

API documentation can be found here:

For example, the Homo Naledi article:

would yield a response similar to:

{"total":1,"items":[{"id":9560,"views":227913,"downloads":16498,"crossref":103,"pubmed":21,"scopus":52}]}

installation

code

git clone https://github.com/elifesciences/elife-metrics
cd elife-metrics
./install.sh

updating

code

git pull
./install.sh

testing

code

./test.sh

running

code

./manage.sh runserver
firefox http://127.0.0.1:8000/api/docs/

Copyright & Licence

Copyright 2016-2019 eLife Sciences. Licensed under the GPLv3

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

You can’t perform that action at this time.