-
Notifications
You must be signed in to change notification settings - Fork 8
Home
Welcome to the Citation Gecko wiki!
-
Clone the repo
-
Inside of repo root directory run
npm install
-
Run
node server.js
-
The application is running at
http://localhost:3000
Note: You have to provide an API key for Microsoft Academic service in public/apikeys.js
in the format of { key: 'qwertyuiop' }
.
Citation Gecko exposes an API that serves the data used to drive the visualisations.
Currently visible endpoints:
/api/v1/getCitedBy?doi=...
The data used here is based on a dump from CrossRef.
That data is then inserted into a DynamoDB table with two columns: citeTo
and citeFrom
. Importing it into Dynamo makes the data queryable.
citeFrom
indicates the document that's citing a citeTo
document.
Note: You will need to have your AWS keys specified in ~/.aws/credentials
.
The ingest process depends on a tsv file (provided as part of eLife Innovation Sprint 2018). Going forward this will use a file with incremental changes (to be executed with a cron job).
The ingest process is kicked off by running node dynamo/ingestData.js
.
The process chunks the data to be imported into batches of 25 in order to send as many data rows at once as AWS will allow.