Published
Edited
Jul 8, 2020
1 fork
6 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
author_dict
Insert cell
Insert cell
summary_tsv[0]['Review ongoing? Specify your name!']
Insert cell
altmetric_dict[clean_data[0].rel_doi]
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
filter_data = clean_data.filter(x => {
let search_string = x.rel_title.toLowerCase() + ' ' +
abstract_dict[x.rel_doi] + ' ' //+
// author_dict[x.rel_doi].toLowerCase()
return search_string.includes(inst_search.toLowerCase())
})
Insert cell
author_dict
Insert cell
Insert cell
Insert cell
reviews_in_table = clean_data.filter(x => x.Reviewed === 'yes').map(x => x.rel_doi)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// set table style to full width
html`
<style>
p {
min-width: 100%;
}
h1, h2, h3, h4 {
min-width: 100%;
}
`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// Octokit = require('https://bundle.run/@octokit/rest@16.28.3')
Octokit = require(await FileAttachment("octokit.js").url())
Insert cell
Insert cell
Insert cell
Insert cell
alt_metric_url = 'https://cors-anywhere.herokuapp.com/http://api.altmetric.com/v1/doi/' + name.rel_doi
Insert cell
alt_metric_json.details_url
Insert cell
Insert cell
alt_metric_json.score
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// cgm = require("https://bundle.run/clustergrammer-gl@0.11.9")
// cgm = require(await FileAttachment("clustergrammer-gl-0.11.9.js").url())
cgm = require(await FileAttachment("clustergrammer-gl.0.19.0.packd.js").url())
Insert cell
Insert cell
scite_json = JSON.parse(scite_response.body)
Insert cell
scite_response = {
const response = await fetch(scite_url);
return {
ok: response.ok,
body: await response.text()
};
}
Insert cell
// scite_url = 'https://api.scite.ai/tallies/10.1016/j.biopsych.2005.08.012'
// scite_url = any_cors_url + 'https://api.scite.ai/citations/citing/10.1016/j.semcdb.2011.03.002'

scite_url = any_cors_url + 'https://api.scite.ai/citations/citing/' + name.rel_doi
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
md`

${author_dict[name.rel_doi].map(x => x.author_name + ', ')}

### Altmetric: <a href="${alt_metric_json.details_url}" target="_blank">${Math.round(alt_metric_json.score * 100)/100}</a>`
Insert cell
author_dict
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more