Description Usage Arguments Value Examples
Create a word cloud from a patent data set.
1 | wordCloudIt(file, rmwords, minfreq = 20, maxwords = 150, ...)
|
file |
The data frame you want word cloud, typically the abstract, title, and claims subset. |
rmwords |
A character vector of words you exclude from your analysis. Default
is |
minfreq |
From |
maxwords |
From |
... |
|
NULL, prints out a wordcloud
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")]
wordCloudIt(df, excludeWords, minfreq = 20,
random.order = FALSE, rot.per = 0.25)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.