xlsx2json {mlms} | R Documentation |
Convert Field Data from XLSX to JSON
Description
Convert the file format of field data from XLSX to JSON.
Usage
xlsx2json(path, destdir)
Arguments
path |
'character' string. Either the path to the Excel workbook file (XLSX) to read, or the directory containing XLSX files. |
destdir |
'character' string.
Destination directory to write JSON file(s).
Defaults to the |
Value
File path(s) of the JSON formatted data.
Author(s)
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
See Also
read_field_xlsx
function for reading field data from a XLSX file.
write_field_json
function for writing field data to a JSON file.
Examples
path <- system.file("extdata/ex-field.xlsx", package = "mlms") |>
xlsx2json(destdir = tempdir())
unlink(path)
[Package mlms version 1.0.2 Index]