Skip to contents

Attach primary-key metadata to a data.frame by setting an attribute stamp_pk with the normalized pk list returned by st_pk(). This does not modify on-disk sidecars; it is an in-memory convenience.

Usage

st_with_pk(x, keys)

Arguments

x

Data.frame to annotate.

keys

Character vector of column names making the primary key.

Value

The input data.frame with attribute stamp_pk set.