import {Plot} from "@mkfreeman/plot-tooltip"
import {map} from "@martien/ramda"
papers_r = FileAttachment("../data/all_papers.json").json()
n_columns = Object.entries(papers_r["doi"]).length
index_array = Array.from({length: n_columns}, (_, i) => i)
papers = map(i => map(x => x[i], papers_r), index_array)
my_papers = papers.filter(function(p) {
return p.authors.map(a => a.full_name).includes("Martin Girard")
})
papers_r = Object {doi: Object, title: Object, publication_date: Object, authors: Object, citation_count: Object, bib_entry: Object, abstract: Object, tldr: Object, year: Object, journal.name: Object, journal.url: Object, journal.issue: Object, journal.abbreviation: Object, journal.pages: Object, journal.volume: Object, open_access.is_open_access: Object, open_access.open_access_status: Object, open_access.landing_page_url: Object, open_access.pdf_url: Object, embedding.x: Object, …}
n_columns = 75
index_array = Array(75) [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, …]