Learn R Programming

read.cwa (version 0.2.1)

convert_cwa: Convert a CWA activity file to a CSV

Description

Convert a CWA activity file to a CSV

Usage

convert_cwa(
  file,
  outfile = tempfile(fileext = ".csv"),
  xyz_only = TRUE,
  verbose = TRUE
)

read_cwa_csv(file, xyz_only = TRUE, verbose = TRUE)

read_cwa( file, outfile = tempfile(fileext = ".csv"), xyz_only = TRUE, verbose = TRUE )

Arguments

file

input CWA file

outfile

output CSV file

xyz_only

read only time and X/Y/Z columns

verbose

print diagnostic messages

Value

Name of output CSV file

Examples

Run this code
# NOT RUN {
gz_file = system.file("extdata", "ax3_testfile.cwa.gz", package = "read.cwa")
file = R.utils::gunzip(gz_file, temporary = TRUE, remove = FALSE, overwrite = TRUE)
out = read_cwa(file)
out = read_cwa(file, xyz_only = FALSE)
# }

Run the code above in your browser using DataLab