extractPubNumber: Extract the numeric portion of the document (published)...

Description Usage Arguments Value See Also Examples

View source: R/cleanPatentData.R

Description

Extract the numeric portion of the document number. This is useful for a number of processing applications, and thus is beneficial to isolate from the entire publication number.

Usage

1

Arguments

docNum

The character vector of document numbers.

Value

A character vector of same length inputted, with varying length. Typical lengths are 7 to 11 characters. Only numbers are returned. All other characters are stripped.

See Also

createGoogleURL

Examples

1
2
3
acars$pubNum <- extractPubNumber(acars$docNum)
head(acars[,c("docNum","pubNum")]) 
  

kamilien1/patentr documentation built on May 20, 2019, 7:19 a.m.