Skip to contents

write geomarker output to file

Usage

write_geomarker_file(
  d,
  raw_data = NULL,
  filename,
  geomarker_name = Sys.getenv("degauss_name"),
  version = Sys.getenv("degauss_version"),
  argument = NULL
)

Arguments

d

input nest on .row with added geomarker column(s)

raw_data

original unnested input data, defaults to NULL (for use when nest_df = FALSE in read_lat_lon_csv)

filename

name of input file, probably opt$filename if inside container

geomarker_name

name of the geomarker; defaults to degauss environment variable degauss_name

version

container version number as a character string; defaults to degauss environment variable degauss_version

argument

optional information to append after the image version number that was specified using a degauss argument; for example, a selected buffer radius, care site, or geocoding threshold

Value

output file is written to working directory

Examples

if (FALSE) {
write_geomarker_file(d$d, d$raw_data,
  filename = "test/my_address_file_geocoded.csv",
  geomarker = "roads", version = "0.4"
)
}