lookup: Fetch a lookup table and join it to your data.

Description Usage Arguments Value

View source: R/main.R

Description

This function works with magrittr pipes.

Usage

1
2
lookup(data, keys, value, lookup_keys = NULL, version = NULL,
  source = NULL)

Arguments

data

A data.frame to join to.

keys

A key column or vector of key columns to join on.

value

A lookup table value.

lookup_keys

A single lookup table key or a vector of keys, if different from keys.

version

A lookup table version identifier.

source

A lookup_source or NULL to use the default.

Value

A tbl, or NULL if the table does not exist.


wireservice/lookupr documentation built on May 4, 2019, 6:32 a.m.