Data Stories 2
SOCI 3040 β Quantitative Research Methods
Assignment Instructions
- Create a new RStudio project in PositCloud.
- Create, name, and save a new Quarto notebook. Edit the YAML to give the assignment a name. Add author information (itβs OK to collaborate with 2-3 peers in the class as long as it is explicit on all submissions).
- Load the following libraries:
tidyverse,openalexR, andggplot2 - Find the Institutional ID for McMaster University on OpenAlex.
- Using
openalexR, find out how many records / publications by McMaster-based researchers are indexed by OpenAlex. - Collect record / publication data by any McMaster-based researcher who has published more than 3 records / publications using
do.call()and store the results in an object calledmac_author_data. - Pick a topic (e.g., harm reduction) and search the McMaster records for matches.
- Who are the top
NMcMaster authors who have published on that topic? - Make a horizontal bar graph with
ggplot2to visualize number of publications by the top authors. - Submit the
.qmdfile to the BrightSpace Dropbox.
Weβll work on this in class. See you then!