powered by
Generate an interactive viewer for an APSIM-X file
view_apsimx(file, src.dir, viewer = c("json", "react"), ...)
a display with the APSIM file structure.
a file ending in .apsimx to be inspected (JSON)
directory containing the .apsimx file to be inspected; defaults to the current working directory
either “json” or “react”.
additional arguments passed to either ‘jsonedit’ or ‘reactjson’. These are functions in package listviewer.
# \donttest{ extd.dir <- system.file("extdata", package = "apsimx") ## View the structure of the APSIM-X simulation file view_apsimx("Wheat.apsimx", src.dir = extd.dir) # }
Run the code above in your browser using DataLab