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.
Arguments
- x
An inventory from
pii_inventory()(or several combined withrbind()).- path
File path.