wbt_join_tables: Join tables

Description Usage Arguments Value

View source: R/data_tools.R

Description

Merge a vector's attribute table with another table based on a common field.

Usage

1
2
3
4
5
6
7
8
9
wbt_join_tables(
  input1,
  pkey,
  input2,
  fkey,
  import_field,
  wd = NULL,
  verbose_mode = FALSE
)

Arguments

input1

Input primary vector file (i.e. the table to be modified).

pkey

Primary key field.

input2

Input foreign vector file (i.e. source of data to be imported).

fkey

Foreign key field.

import_field

Imported field (all fields will be imported if not specified).

wd

Changes the working directory.

verbose_mode

Sets verbose mode. If verbose mode is False, tools will not print output messages.

Value

Returns the tool text outputs.


whitebox documentation built on Sept. 7, 2020, 3 p.m.