Skip to contents

One validated catalog row per local file: bytes and md5 from the file, store / asset_type / grid_id / ds_key from the key. The rows are what asset_catalog_add() appends after the objects are uploaded.

Usage

asset_catalog_rows(
  key,
  content_hash,
  enc,
  file,
  first_ver,
  created = Sys.Date()
)

Arguments

key

store key(s) (asset_store_key())

content_hash, enc

the payload hash and encoding tag the key was made from

file

local path of each object

first_ver

the release that first stored the object (length 1 or length(key))

created

date column (default today)

Value

a catalog data frame (see asset_catalog_check()); zero rows for zero keys