Skip to contents

Extract resource ID from its URL. If input is not a valid URL, it is returned as is.

Usage

extract_id(x)

Arguments

x

character vector of length 1