Learn R Programming

dodgr (version 0.4.3)

write_dodgr_wt_profile: Write dodgr weighting profiles to local file.

Description

Write the dodgr street network weighting profiles to a local .json-formatted file for manual editing and subsequent re-reading.

Usage

write_dodgr_wt_profile(file = NULL)

Value

TRUE if writing successful.

Arguments

file

Full name (including path) of file to which to write. The .json suffix will be automatically appended.

See Also

weight_streetnet

Other misc: compare_heaps(), dodgr_flowmap(), dodgr_full_cycles(), dodgr_fundamental_cycles(), dodgr_insert_vertex(), dodgr_sample(), dodgr_sflines_to_poly(), dodgr_vertices(), merge_directed_graph(), summary.dodgr_dists_categorical()

Examples

Run this code
f <- tempfile (fileext = ".json")
write_dodgr_wt_profile (file = f)
wt_profiles <- jsonlite::read_json (f, simplify = TRUE)

Run the code above in your browser using DataLab