Skip to contents

Collector-based with pre-allocated vectors. Used by parse_updates_page() and flatten_page_patches().

Usage

parse_patch(endringer)

Arguments

endringer

List of patch operations from the brreg API.

Value

A tibble with columns operation, field, path, new_value.

Details

RFC 6902 move operations emit two rows: an add/replace at the destination path and a remove at the source path (from $from). copy operations emit one row at the destination.