Data Stories 2

SOCI 3040 – Quantitative Research Methods

Grade Weight

15%

Due Date

March 10, 2025

Assignment Instructions

  1. Create a new RStudio project in PositCloud.
  2. 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).
  3. Load the following libraries: tidyverse, openalexR, and ggplot2
  4. Find the Institutional ID for McMaster University on OpenAlex.
  5. Using openalexR, find out how many records / publications by McMaster-based researchers are indexed by OpenAlex.
  6. 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 called mac_author_data.
  7. Pick a topic (e.g., harm reduction) and search the McMaster records for matches.
  8. Who are the top N McMaster authors who have published on that topic?
  9. Make a horizontal bar graph with ggplot2 to visualize number of publications by the top authors.
  10. Submit the .qmd file to the BrightSpace Dropbox.

We’ll work on this in class. See you then!