dodgr_load_streetnet | R Documentation |
This always returns the full, non-contracted graph. The contracted graph can be generated by passing the result to dodgr_contract_graph.
dodgr_load_streetnet(filename)
filename |
Name (with optional full path) of file to be loaded. |
Other cache:
clear_dodgr_cache()
,
dodgr_cache_off()
,
dodgr_cache_on()
,
dodgr_save_streetnet()
net <- weight_streetnet (hampi)
f <- file.path (tempdir (), "streetnet.Rds")
dodgr_save_streetnet (net, f)
clear_dodgr_cache () # rm cached objects from tempdir
# at some later time, or in a new R session:
net <- dodgr_load_streetnet (f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.