Skip to contents

write_inventory() saves an inventory from pii_inventory() as a CSV file, written exactly as the spec describes, so that R and Python write identical files for the same inventory. read_inventory() reads a file written by either and checks its format.

Usage

write_inventory(x, path)

read_inventory(path)

Arguments

x

An inventory from pii_inventory() (or several combined with rbind()).

path

File path.

Value

write_inventory() returns path invisibly; read_inventory() an inventory.