Skip to content

Latest commit

 

History

History

jsm2022

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Navigate the JSM schedule from the comfort of an R console

jsm2022 is an R package with all the JSM talks. It makes personalized recommendations for talks (based on citation network data) and exports your schedule as an ical file that can be loaded into Google Calendar and similar.

About

We (Jacob Bien and Yibin Xiong) scraped the JSM program and wrangled decades of citation and coauthorship data from Semantic Scholar and Arxiv. We have also included functionality for exporting your schedule as an ical that can be loaded into Google Calendar or similar. The result is a package that streamlines the process of finding talks that you may want to attend. The first version of this was done as a web app for JSM 2019 with Ronak Upadhyaya. jsm2022 was written using literate programming. In particular, the entire package was generated by "litr-knitting" a single Rmd file. To learn more about the litr package and the literate programming approach to writing R packages, see here.

Getting started

To install the package:

remotes::install_github("jacobbien/jsm2022-project", subdir = "jsm2022")

An example of the sort of thing you can do with the package:

library(jsm2022)
my_coauthors <- get_coauthors("Jacob Bien") # Name as it appears in JSM program
people_cited_by_me <- get_out_citations("Jacob Bien")
people_citing_me <- get_in_citations("Jacob Bien")
some_people <- c(my_coauthors, people_cited_by_me[1:20], people_citing_me[1:20])
schedule <- get_talks(speakers = some_people)

This produces a data frame of talks. See ?get_talks for the other ways you can filter talks. Finally, you can export this in the ical format, which can be imported into Google Calendar and other standard calendars:

export_calendar_to_ics(schedule, file = "jsm-talks.ics")

Citation and coauthor data acknowledgments

The citation data came from Semantic Scholar's API and is associated with the following paper:

Waleed Ammar, Dirk Groeneveld, Chandra Bhagavatula, Iz Beltagy, Miles Crawford, Doug Downey, Jason Dunkelberger, Ahmed Elgohary, Sergey Feldman, Vu A. Ha, Rodney Michael Kinney, Sebastian Kohlmeier, Kyle Lo, Tyler C. Murray, Hsu-Han Ooi, Matthew E. Peters, Joanna L. Power, Sam Skjonsberg, Lucy Lu Wang, Christopher Wilhelm, Zheng Yuan, Madeleine van Zuylen, Oren Etzioni, Construction of the Literature Graph in Semantic Scholar. NAACL 2018.

Coauthorship data came also from arxiv metadata.