Description Usage Arguments Value Examples
View source: R/reportPatentData.R
Make a PDF output of a plot.
1 | addPdfImage(graph, name = "image", w = 12, h = 12)
|
graph |
The graph object to input |
name |
A character name to name your file. It can have a filepath as well. |
w |
The width, in inches, of your image, default set to 12. |
h |
The height, in inches, of your image, default set to 12. |
No ret
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | sumo <- cleanPatentData(patentData = patentr::acars, columnsExpected = sumobrainColumns,
cleanNames = sumobrainNames,
dateFields = sumobrainDateFields,
dateOrders = sumobrainDateOrder,
deduplicate = TRUE,
cakcDict = patentr::cakcDict,
docLengthTypesDict = patentr::docLengthTypesDict,
keepType = "grant",
firstAssigneeOnly = TRUE,
assigneeSep = ";",
stopWords = patentr::assigneeStopWords)
# df <- dplyr::select(sumo, title, abstract)
df <- sumo[,c("title","abstract")]
addPdfImage(wordCloudIt(df, excludeWords, minfreq = 20,
random.order = FALSE, rot.per = 0.25),"wordCloud")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.