# \donttest{
# just call `library(tidyverse)` at the top of the your script
library(magrittr)
A <- cow_ddy %>% add_contiguity() %>% add_cow_majors() %>% filter_prd()
A
# you can also use it as a shortcut for the other functions required
# to calculate politically relevant dyads.
B <- cow_ddy %>% filter_prd()
B
identical(A,B)
# }
Run the code above in your browser using DataLab