Skip to contents

Function to pad a patent_id with zeroes to 8 characters. This is needed only for custom applications that want the API to pad patent numbers automatically. Needed if querying by patent_id or custom paging that uses sorts by patent_id, the patent_id values in these cases would need to be padded. The API's automatic paging feature is not exposed or used by the R package.

Usage

pad_patent_id(patent_id)

Arguments

patent_id

The patent_id to be padded.

Examples

if (FALSE) { # \dontrun{
padded <- pad_patent_id("RE36479")

padded2 <- pad_patent_id("3930306")
} # }