Premise x neighbourhood co-occurrence network
Source:R/tps_statphysics.R
morie_tps_criminal_network_graph.RdBuilds a co-occurrence network in lieu of the co-offender network from D'Orsogna & Perc (2015) Fig. 9 / Diviak et al. (2019). Public TPS data has no co-offender records, so we approximate by projecting (top-N premise types) x (HOOD_158 neighbourhoods) onto a premise-by-premise edge-weighted graph. Edge weight is the count of neighbourhoods in which both premise types appear.
Usage
morie_tps_criminal_network_graph(
category = "Assault",
sample_rows = 30000L,
top_n_premises = 20L,
save_fig = TRUE
)Value
A morie_rich_result with node count, edge count,
strongest edge weight, and the adjacency payload.
References
Diviak T, Dijkstra JK, Snijders TAB (2019). Structure, multiplexity, and centrality in a corruption network. Trends in Organized Crime 22: 274-297.
Examples
if (FALSE) { # \dontrun{
rr <- morie_tps_criminal_network_graph("Assault",
top_n_premises = 10L,
save_fig = FALSE)
print(rr$summary_lines)
} # }