analyseStories {oRus} | R Documentation |
Analysing Stories
Description
Main function that fully automates the process of analysing a dataset of user stories. It can also write results as an Excel sheet in a given directory, and generate an advanced report with highlights of missing features.
Usage
analyseStories(
storiesFile,
groupsNumber,
topGroups = 1,
sheetFilePath = NULL,
reportFilePath = NULL,
outputType = "pdf_document",
ignoreWordsList = NULL
)
Arguments
storiesFile |
The path an name to a text file containing one user story per line. They need to be written in English. |
groupsNumber |
The number of groups you want to generate between user stories. |
topGroups |
How many groups per stories you want to keep. The default is 1. |
sheetFilePath |
The path and filename of the Excel sheet that will be stored; must include the '*.xlsx' extension. If no value is passed, the file will not be written. |
reportFilePath |
The path where the extensive report will be stored. It must include the correct extension (according to the type selected in the following argument). If no value is passed, the report won't be generated. |
outputType |
The type of document to be generated (from an RMarkdown). By default it is a PDF file. |
ignoreWordsList |
The list of words that you want to avoid using during the grouping of user stories. If nothing is passed, a default list will be used. |
Value
A list of two datasets: the first one contains the stories split up, classified in types, analysed and grouped. Second dataframe contains top words per group and the belonging value of the word.
See Also
Other Simplified Process:
createIgnoreWords()
,
reportStories()
Examples
# Libraries for the example
library(reshape2)
# Transform the stories
fileUrl <- example_stories()
stories <- analyseStories(fileUrl, 7)
# Print some information
head(dplyr::as_tibble(stories[[2]]))
head(stories[[1]])