: Read in a shape file, rename columns and create the adjacency matrix for spatiotemporal analysis.
load_and_process_map(
map_path,
region_col,
district_col,
geometry_col,
output_dir = NULL
)'map' The processed map
'nb.map'
'graph_file'
The path to the country's geographic data (shape file "sf" data).
Character. The region column in the dataframe.
Character. The district column in the dataframe.
Character. The geometry column in the dataframe.
Character. The path to output the processed adjacency (neighboring) matrix, and the map graph.