Skip to contents

create a DeGAUSS command

Usage

make_degauss_command(
  input_file = "my_address_file_geocoded.csv",
  image,
  version = "latest",
  argument = NA,
  docker_cmd = find_docker()
)

Arguments

input_file

name of input file

image

name of DeGAUSS image

version

version of DeGAUSS image

argument

optional argument

docker_cmd

path to docker executable

Value

DeGAUSS command as a character string

Examples

make_degauss_command(image = "geocoder", version = "3.2.0", docker_cmd = "docker")
#> docker run --rm -v $PWD:/tmp ghcr.io/degauss-org/geocoder:3.2.0 my_address_file_geocoded.csv
make_degauss_command(image = "geocoder", version = "3.2.0", argument = "0.4", docker_cmd = "docker")
#> docker run --rm -v $PWD:/tmp ghcr.io/degauss-org/geocoder:3.2.0 my_address_file_geocoded.csv 0.4
make_degauss_command(image = "geocoder", version = "3.2.0", docker_cmd = "/usr/local/bin/docker")
#> /usr/local/bin/docker run --rm -v $PWD:/tmp ghcr.io/degauss-org/geocoder:3.2.0 my_address_file_geocoded.csv