get_links | R Documentation |
Load the links between records in MAG and in ProQuest. The links are stored as a table in the database. The links can be either between PhD graduates and MAG authors, or PhD advisors and MAG authors.
get_links(conn, from, min_score = 0.7, ...)
conn |
An object of class |
from |
A string with options to be queried: "advisors" or "graduates". |
min_score |
Minimum score for links to accept. Numeric between 0 and 1. |
... |
Additional arguments to be passed to
|
For advisor links, a high threshold for min_score
(0.95 or higher)
is recommended, and the function throws a message if that is not the case.
The reason for this is that there seem to be many false positives when using
a lower threshold.
A query of linked goid-AuthorId.
conn <- connect_to_db(db_example("AcademicGraph.sqlite"))
graduate_links <- get_links(conn, from = "graduates", min_score = 0.7)
advisor_links <- get_links(conn, from = "advisors", min_score = 0.7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.