Creating a Business Dashboard in R. 00000
Paper abstract bibtex Business dashboards are available in many shapes and sizes. Business dashboards are useful to create an overview of key performance indicators (KPIs) important for the business strategy and/or operations. There are many flavours of dashboard frameworks and apps available, ranging in price from thousands of dollars to open-source implementations. Apparently there are four key elements to a good dashboard: Simple, communicates easily Minimum distractions…it could cause confusion Supports organized business with meaning and useful data Applies human visual perception to visual presentation of information As the title already indicates, this post is about using R to create simple, cheap and practical business dashboards. Basically we will generate a simple HTML which visualizes the selected KPIs. Let's see if we can achieve this while adhering to the four elements above. What do you need? Some knowledge about R A computer with R installed The R packages knitr, markdown and ggplot2 A location to output your dashboard (HTML file) to which is accessable by those who need to access it Steps to take 1. Define the KPIs you want to monitor There is a lot of information on this topic available on the web. In this case we will use the dashboard to show the following KPIs: yearly sales yearly profits 2. Capture the data A vital step is defining where the data, which feeds the KPIs, comes from. Is this an operational database or a data warehouse? Is this a Excel / CSV file which regularly gets updated? Is this information available in XML somewhere? Anyhow, the possibilities are endless. R has a lot of methods of reading/importing this data. For accessing a database RODBC it the way to go, for reading Excel files use xlsx for CSV files R has build in support. Let's say for example we have an Excel file that is updated on a yearly basis and which we will use for our dashboard. library(xlsx) dataset \textless- read.xlsx("dataset.xlsx", 1) dataset ## Year Sales Profits Costs ## 1 2000 500 88.00 412.0 ## 2 2001 450 74.88 375.1 ## 3 2002 490 85.46 404.5 ## 4 2003 425 76.84 348.2 ## 5 2004 480 89.86 390.1 ## 6 2005 480 82.18 397.8 ## 7 2006 405 71.93 333.1 ## 8 2007 430 66.74 363.3 ## 9 2008 485 83.03 402.0 ## 10 2009 475 88.16 386.8 ## 11 2010 425 55.76 369.2 ## 12 2011 430 69.49 360.5 ## 13 2012 430 82.56 347.4 We stored the Excel data in a variable dataset. We will use this dataframe to visualize the KPIs. 3. Visualize the data Let's visualize the KPI yearly sales: library(ggplot2) plot_sales\textless-ggplot(dataset,aes(x=factor(Year),y=Sales,fill=Sales))+ xlab('Year') + ylab('Sales (\$)') + geom_bar(stat='identity',colour='black') + # make a barchart of the data scale_fill_gradient(low='red',high='green') + # add a visual indicator ggtitle('Yearly sales') + # add a title theme(axis.text.x = element_text(angle = -35)) # tilt the axis labels plot_sales And yearly profits: library(ggplot2) plot_profits{\textless}-ggplot(dataset,aes(x=factor(Year),y=Profits,fill=Profits))+ xlab('Year') + ylab('Profits (\$)') + geom_bar(stat='identity',colour='black') + # make a barchart of the data scale_fill_gradient(low='red',high='green') + # add a visual indicator ggtitle('Yearly profits') + # add a title theme(axis.text.x = element_text(angle = -35)) # tilt the axis labels plot_profits 4. Build the dashboard For this step we will need an R file in which the data is processed and visualized and an .Rmd file which acts as a markdown template in which we incorporate the visualized data. The .Rmd markdown template: # Our business dashboard ```\r fig.height=4,echo=FALSE,results='asis'\ ## this is a so called 'chunk': a piece of R code cat('Last updated on:',as.character(Sys.time())) ``` ```\r fig.height=4, fig.width=12, echo=FALSE\ ## this is a so called 'chunk': a piece of R code grid.arrange(plot_sales,plot_profits,nrow=1) ``` Some additional text to add context to the KPI interpretation. The .R file: library(knitr) library(ggplot2) library(gridExtra) ## load the data library(xlsx) dataset\textless-read.xlsx('dataset.xlsx',1) ## visualize the data plot_sales\textless-ggplot(dataset,aes(x=factor(Year),y=Sales,fill=Sales))+ xlab('Year') + ylab('Sales (\$)') + geom_bar(stat='identity',colour='black') + # make a barchart of the data scale_fill_gradient(low='red',high='green') + # add a visual indicator ggtitle('Yearly sales') + # add a title theme(axis.text.x = element_text(angle = -35)) # tilt the axis labels plot_profits{\textless}-ggplot(dataset,aes(x=factor(Year),y=Profits,fill=Profits))+ xlab('Year') + ylab('Profits (\$)') + geom_bar(stat='identity',colour='black') + # make a barchart of the data scale_fill_gradient(low='red',high='green') + # add a visual indicator ggtitle('Yearly profits') + # add a title theme(axis.text.x = element_text(angle = -35)) # tilt the axis labels knit2html('dashboard.Rmd') # produces the HTML file Basically the .R file acts as a container for the data import, transformation and visualization methods while the .Rmd brings the visualized data together in a readable format while making abstraction of the underlying R code. Actually, most of these steps can also be done within the .Rmd file, however, I personally find it more organized to keep this seperated. For more information about how a .Rmd file is set up, minimal examples and chunk options check the knitr website. When we run the .R we get the following dashboard. 5. Automatic updating of the dashboard This is were a server comes into places. Basically you'll want to schedule the execution of the main .R file via a cronjob or a Windows task. The time between executions is based on how vital the data is and the frequency at which new data becomes available. Retrospect Well, did we achieve to adhere to the four key elemets? I'll leave that up to your assessment. I believe however that, in absence of other dashboard frameworks specifically suited for your purpose, this R-style dashboard can be set-up very quickly at no costs at all (excluding developement). Download files dashboard.R, dashboard.Rmd, dataset.xlsx
@misc{_creating_????,
title = {Creating a {Business} {Dashboard} in {R}},
url = {http://www.r-bloggers.com/creating-a-business-dashboard-in-r-2/},
abstract = {Business dashboards are available in many shapes and sizes. Business
dashboards are useful to create an overview of key performance
indicators (KPIs) important for the business strategy and/or operations.
There are many flavours of dashboard frameworks and apps available,
ranging in price from thousands of dollars to open-source
implementations.
Apparently there are four key elements to a good dashboard:
Simple, communicates easily
Minimum distractions…it could cause confusion
Supports organized business with meaning and useful data
Applies human visual perception to visual presentation of
information
As the title already indicates, this post is about using R to create
simple, cheap and practical business dashboards. Basically we will
generate a simple HTML which visualizes the selected KPIs. Let's see if
we can achieve this while adhering to the four elements above.
What do you need?
Some knowledge about R
A computer with R installed
The R packages knitr, markdown and ggplot2
A location to output your dashboard (HTML file) to which is
accessable by those who need to access it
Steps to take
1. Define the KPIs you want to monitor
There is a lot of information on this topic available on the web.
In this case we will use the dashboard to show the following KPIs:
yearly sales
yearly profits
2. Capture the data
A vital step is defining where the data, which feeds the KPIs, comes
from. Is this an operational database or a data warehouse? Is this a
Excel / CSV file which regularly gets updated? Is this information
available in XML somewhere? Anyhow, the possibilities are endless.
R has a lot of methods of reading/importing this data. For accessing a
database RODBC it the way to go, for reading Excel files use
xlsx for CSV files R has build in support.
Let's say for example we have an Excel file that is updated on a
yearly basis and which we will use for our dashboard.
library(xlsx)
dataset {\textless}- read.xlsx("dataset.xlsx", 1)
dataset
\#\# Year Sales Profits Costs
\#\# 1 2000 500 88.00 412.0
\#\# 2 2001 450 74.88 375.1
\#\# 3 2002 490 85.46 404.5
\#\# 4 2003 425 76.84 348.2
\#\# 5 2004 480 89.86 390.1
\#\# 6 2005 480 82.18 397.8
\#\# 7 2006 405 71.93 333.1
\#\# 8 2007 430 66.74 363.3
\#\# 9 2008 485 83.03 402.0
\#\# 10 2009 475 88.16 386.8
\#\# 11 2010 425 55.76 369.2
\#\# 12 2011 430 69.49 360.5
\#\# 13 2012 430 82.56 347.4
We stored the Excel data in a variable dataset. We will use this
dataframe to visualize the KPIs.
3. Visualize the data
Let's visualize the KPI yearly sales:
library(ggplot2)
plot\_sales{\textless}-ggplot(dataset,aes(x=factor(Year),y=Sales,fill=Sales))+ xlab('Year') + ylab('Sales (\$)') +
geom\_bar(stat='identity',colour='black') + \# make a barchart of the data
scale\_fill\_gradient(low='red',high='green') + \# add a visual indicator
ggtitle('Yearly sales') + \# add a title
theme(axis.text.x = element\_text(angle = -35)) \# tilt the axis labels
plot\_sales
And yearly profits:
library(ggplot2)
plot\_profits{\textless}-ggplot(dataset,aes(x=factor(Year),y=Profits,fill=Profits))+ xlab('Year') + ylab('Profits (\$)') +
geom\_bar(stat='identity',colour='black') + \# make a barchart of the data
scale\_fill\_gradient(low='red',high='green') + \# add a visual indicator
ggtitle('Yearly profits') + \# add a title
theme(axis.text.x = element\_text(angle = -35)) \# tilt the axis labels
plot\_profits
4. Build the dashboard
For this step we will need an R file in which the data is processed and
visualized and an .Rmd file which acts as a markdown template in
which we incorporate the visualized data.
The .Rmd markdown template:
\# Our business dashboard
```\{r fig.height=4,echo=FALSE,results='asis'\}
\#\# this is a so called 'chunk': a piece of R code
cat('Last updated on:',as.character(Sys.time()))
```
```\{r fig.height=4, fig.width=12, echo=FALSE\}
\#\# this is a so called 'chunk': a piece of R code
grid.arrange(plot\_sales,plot\_profits,nrow=1)
```
Some additional text to add context to the KPI interpretation.
The .R file:
library(knitr)
library(ggplot2)
library(gridExtra)
\#\# load the data
library(xlsx)
dataset{\textless}-read.xlsx('dataset.xlsx',1)
\#\# visualize the data
plot\_sales{\textless}-ggplot(dataset,aes(x=factor(Year),y=Sales,fill=Sales))+ xlab('Year') + ylab('Sales (\$)') +
geom\_bar(stat='identity',colour='black') + \# make a barchart of the data
scale\_fill\_gradient(low='red',high='green') + \# add a visual indicator
ggtitle('Yearly sales') + \# add a title
theme(axis.text.x = element\_text(angle = -35)) \# tilt the axis labels
plot\_profits{\textless}-ggplot(dataset,aes(x=factor(Year),y=Profits,fill=Profits))+ xlab('Year') + ylab('Profits (\$)') +
geom\_bar(stat='identity',colour='black') + \# make a barchart of the data
scale\_fill\_gradient(low='red',high='green') + \# add a visual indicator
ggtitle('Yearly profits') + \# add a title
theme(axis.text.x = element\_text(angle = -35)) \# tilt the axis labels
knit2html('dashboard.Rmd') \# produces the HTML file
Basically the .R file acts as a container for the data import,
transformation and visualization methods while the .Rmd brings the
visualized data together in a readable format while making abstraction
of the underlying R code. Actually, most of these steps can also be done
within the .Rmd file, however, I personally find it more organized to
keep this seperated. For more information about how a .Rmd file is set
up, minimal examples and chunk options check the knitr website.
When we run the .R we get the following dashboard.
5. Automatic updating of the dashboard
This is were a server comes into places. Basically you'll want to
schedule the execution of the main .R file via a cronjob or a Windows
task. The time between executions is based on how vital the data is and
the frequency at which new data becomes available.
Retrospect
Well, did we achieve to adhere to the four key elemets? I'll leave that
up to your assessment. I believe however that, in absence of other
dashboard frameworks specifically suited for your purpose, this R-style
dashboard can be set-up very quickly at no costs at all (excluding
developement).
Download files
dashboard.R, dashboard.Rmd, dataset.xlsx},
urldate = {2013-11-02TZ},
journal = {R-bloggers},
note = {00000}
}
Downloads: 0
{"_id":"8szn8EMAz5gdEZJYM","bibbaseid":"anonymous-creatingabusinessdashboardinr","downloads":0,"creationDate":"2016-09-28T21:46:55.797Z","title":"Creating a Business Dashboard in R","author_short":null,"year":null,"bibtype":"misc","biburl":"http://bibbase.org/zotero/mlinchits","bibdata":{"bibtype":"misc","type":"misc","title":"Creating a Business Dashboard in R","url":"http://www.r-bloggers.com/creating-a-business-dashboard-in-r-2/","abstract":"Business dashboards are available in many shapes and sizes. Business dashboards are useful to create an overview of key performance indicators (KPIs) important for the business strategy and/or operations. There are many flavours of dashboard frameworks and apps available, ranging in price from thousands of dollars to open-source implementations. Apparently there are four key elements to a good dashboard: Simple, communicates easily Minimum distractions…it could cause confusion Supports organized business with meaning and useful data Applies human visual perception to visual presentation of information As the title already indicates, this post is about using R to create simple, cheap and practical business dashboards. Basically we will generate a simple HTML which visualizes the selected KPIs. Let's see if we can achieve this while adhering to the four elements above. What do you need? Some knowledge about R A computer with R installed The R packages knitr, markdown and ggplot2 A location to output your dashboard (HTML file) to which is accessable by those who need to access it Steps to take 1. Define the KPIs you want to monitor There is a lot of information on this topic available on the web. In this case we will use the dashboard to show the following KPIs: yearly sales yearly profits 2. Capture the data A vital step is defining where the data, which feeds the KPIs, comes from. Is this an operational database or a data warehouse? Is this a Excel / CSV file which regularly gets updated? Is this information available in XML somewhere? Anyhow, the possibilities are endless. R has a lot of methods of reading/importing this data. For accessing a database RODBC it the way to go, for reading Excel files use xlsx for CSV files R has build in support. Let's say for example we have an Excel file that is updated on a yearly basis and which we will use for our dashboard. library(xlsx) dataset \\textless- read.xlsx(\"dataset.xlsx\", 1) dataset ## Year Sales Profits Costs ## 1 2000 500 88.00 412.0 ## 2 2001 450 74.88 375.1 ## 3 2002 490 85.46 404.5 ## 4 2003 425 76.84 348.2 ## 5 2004 480 89.86 390.1 ## 6 2005 480 82.18 397.8 ## 7 2006 405 71.93 333.1 ## 8 2007 430 66.74 363.3 ## 9 2008 485 83.03 402.0 ## 10 2009 475 88.16 386.8 ## 11 2010 425 55.76 369.2 ## 12 2011 430 69.49 360.5 ## 13 2012 430 82.56 347.4 We stored the Excel data in a variable dataset. We will use this dataframe to visualize the KPIs. 3. Visualize the data Let's visualize the KPI yearly sales: library(ggplot2) plot_sales\\textless-ggplot(dataset,aes(x=factor(Year),y=Sales,fill=Sales))+ xlab('Year') + ylab('Sales (\\$)') + geom_bar(stat='identity',colour='black') + # make a barchart of the data scale_fill_gradient(low='red',high='green') + # add a visual indicator ggtitle('Yearly sales') + # add a title theme(axis.text.x = element_text(angle = -35)) # tilt the axis labels plot_sales And yearly profits: library(ggplot2) plot_profits{\\textless}-ggplot(dataset,aes(x=factor(Year),y=Profits,fill=Profits))+ xlab('Year') + ylab('Profits (\\$)') + geom_bar(stat='identity',colour='black') + # make a barchart of the data scale_fill_gradient(low='red',high='green') + # add a visual indicator ggtitle('Yearly profits') + # add a title theme(axis.text.x = element_text(angle = -35)) # tilt the axis labels plot_profits 4. Build the dashboard For this step we will need an R file in which the data is processed and visualized and an .Rmd file which acts as a markdown template in which we incorporate the visualized data. The .Rmd markdown template: # Our business dashboard ```\\r fig.height=4,echo=FALSE,results='asis'\\ ## this is a so called 'chunk': a piece of R code cat('Last updated on:',as.character(Sys.time())) ``` ```\\r fig.height=4, fig.width=12, echo=FALSE\\ ## this is a so called 'chunk': a piece of R code grid.arrange(plot_sales,plot_profits,nrow=1) ``` Some additional text to add context to the KPI interpretation. The .R file: library(knitr) library(ggplot2) library(gridExtra) ## load the data library(xlsx) dataset\\textless-read.xlsx('dataset.xlsx',1) ## visualize the data plot_sales\\textless-ggplot(dataset,aes(x=factor(Year),y=Sales,fill=Sales))+ xlab('Year') + ylab('Sales (\\$)') + geom_bar(stat='identity',colour='black') + # make a barchart of the data scale_fill_gradient(low='red',high='green') + # add a visual indicator ggtitle('Yearly sales') + # add a title theme(axis.text.x = element_text(angle = -35)) # tilt the axis labels plot_profits{\\textless}-ggplot(dataset,aes(x=factor(Year),y=Profits,fill=Profits))+ xlab('Year') + ylab('Profits (\\$)') + geom_bar(stat='identity',colour='black') + # make a barchart of the data scale_fill_gradient(low='red',high='green') + # add a visual indicator ggtitle('Yearly profits') + # add a title theme(axis.text.x = element_text(angle = -35)) # tilt the axis labels knit2html('dashboard.Rmd') # produces the HTML file Basically the .R file acts as a container for the data import, transformation and visualization methods while the .Rmd brings the visualized data together in a readable format while making abstraction of the underlying R code. Actually, most of these steps can also be done within the .Rmd file, however, I personally find it more organized to keep this seperated. For more information about how a .Rmd file is set up, minimal examples and chunk options check the knitr website. When we run the .R we get the following dashboard. 5. Automatic updating of the dashboard This is were a server comes into places. Basically you'll want to schedule the execution of the main .R file via a cronjob or a Windows task. The time between executions is based on how vital the data is and the frequency at which new data becomes available. Retrospect Well, did we achieve to adhere to the four key elemets? I'll leave that up to your assessment. I believe however that, in absence of other dashboard frameworks specifically suited for your purpose, this R-style dashboard can be set-up very quickly at no costs at all (excluding developement). Download files dashboard.R, dashboard.Rmd, dataset.xlsx","urldate":"2013-11-02TZ","journal":"R-bloggers","note":"00000","bibtex":"@misc{_creating_????,\n\ttitle = {Creating a {Business} {Dashboard} in {R}},\n\turl = {http://www.r-bloggers.com/creating-a-business-dashboard-in-r-2/},\n\tabstract = {Business dashboards are available in many shapes and sizes. Business\ndashboards are useful to create an overview of key performance\nindicators (KPIs) important for the business strategy and/or operations.\nThere are many flavours of dashboard frameworks and apps available,\nranging in price from thousands of dollars to open-source\nimplementations.\nApparently there are four key elements to a good dashboard:\n\nSimple, communicates easily\nMinimum distractions…it could cause confusion\nSupports organized business with meaning and useful data\nApplies human visual perception to visual presentation of\n information\n\nAs the title already indicates, this post is about using R to create\nsimple, cheap and practical business dashboards. Basically we will\ngenerate a simple HTML which visualizes the selected KPIs. Let's see if\nwe can achieve this while adhering to the four elements above.\nWhat do you need?\n\nSome knowledge about R\nA computer with R installed\nThe R packages knitr, markdown and ggplot2\n\nA location to output your dashboard (HTML file) to which is\n accessable by those who need to access it\n\nSteps to take\n1. Define the KPIs you want to monitor\nThere is a lot of information on this topic available on the web.\nIn this case we will use the dashboard to show the following KPIs:\n\nyearly sales\nyearly profits\n\n2. Capture the data\nA vital step is defining where the data, which feeds the KPIs, comes\nfrom. Is this an operational database or a data warehouse? Is this a\nExcel / CSV file which regularly gets updated? Is this information\navailable in XML somewhere? Anyhow, the possibilities are endless.\nR has a lot of methods of reading/importing this data. For accessing a\ndatabase RODBC it the way to go, for reading Excel files use\nxlsx for CSV files R has build in support.\nLet's say for example we have an Excel file that is updated on a\nyearly basis and which we will use for our dashboard.\nlibrary(xlsx)\ndataset {\\textless}- read.xlsx(\"dataset.xlsx\", 1)\n\ndataset\n\n\\#\\# Year Sales Profits Costs\n\\#\\# 1 2000 500 88.00 412.0\n\\#\\# 2 2001 450 74.88 375.1\n\\#\\# 3 2002 490 85.46 404.5\n\\#\\# 4 2003 425 76.84 348.2\n\\#\\# 5 2004 480 89.86 390.1\n\\#\\# 6 2005 480 82.18 397.8\n\\#\\# 7 2006 405 71.93 333.1\n\\#\\# 8 2007 430 66.74 363.3\n\\#\\# 9 2008 485 83.03 402.0\n\\#\\# 10 2009 475 88.16 386.8\n\\#\\# 11 2010 425 55.76 369.2\n\\#\\# 12 2011 430 69.49 360.5\n\\#\\# 13 2012 430 82.56 347.4\n\n\n\nWe stored the Excel data in a variable dataset. We will use this\ndataframe to visualize the KPIs.\n3. Visualize the data\nLet's visualize the KPI yearly sales:\nlibrary(ggplot2)\nplot\\_sales{\\textless}-ggplot(dataset,aes(x=factor(Year),y=Sales,fill=Sales))+ xlab('Year') + ylab('Sales (\\$)') +\n geom\\_bar(stat='identity',colour='black') + \\# make a barchart of the data\n scale\\_fill\\_gradient(low='red',high='green') + \\# add a visual indicator\n ggtitle('Yearly sales') + \\# add a title\n theme(axis.text.x = element\\_text(angle = -35)) \\# tilt the axis labels\n\n\nplot\\_sales\n\n\n\n\nAnd yearly profits:\nlibrary(ggplot2)\nplot\\_profits{\\textless}-ggplot(dataset,aes(x=factor(Year),y=Profits,fill=Profits))+ xlab('Year') + ylab('Profits (\\$)') +\n geom\\_bar(stat='identity',colour='black') + \\# make a barchart of the data\n scale\\_fill\\_gradient(low='red',high='green') + \\# add a visual indicator\n ggtitle('Yearly profits') + \\# add a title\n theme(axis.text.x = element\\_text(angle = -35)) \\# tilt the axis labels\n\nplot\\_profits\n\n\n\n\n4. Build the dashboard\nFor this step we will need an R file in which the data is processed and\nvisualized and an .Rmd file which acts as a markdown template in\nwhich we incorporate the visualized data.\nThe .Rmd markdown template:\n\\# Our business dashboard\n\n```\\{r fig.height=4,echo=FALSE,results='asis'\\}\n\\#\\# this is a so called 'chunk': a piece of R code\n\ncat('Last updated on:',as.character(Sys.time()))\n```\n\n\n```\\{r fig.height=4, fig.width=12, echo=FALSE\\}\n\\#\\# this is a so called 'chunk': a piece of R code\n\ngrid.arrange(plot\\_sales,plot\\_profits,nrow=1)\n```\n\nSome additional text to add context to the KPI interpretation.\n\n\n\nThe .R file:\nlibrary(knitr)\nlibrary(ggplot2)\nlibrary(gridExtra)\n\n\\#\\# load the data\n\nlibrary(xlsx)\ndataset{\\textless}-read.xlsx('dataset.xlsx',1)\n\n\\#\\# visualize the data\n\nplot\\_sales{\\textless}-ggplot(dataset,aes(x=factor(Year),y=Sales,fill=Sales))+ xlab('Year') + ylab('Sales (\\$)') +\n geom\\_bar(stat='identity',colour='black') + \\# make a barchart of the data\n scale\\_fill\\_gradient(low='red',high='green') + \\# add a visual indicator\n ggtitle('Yearly sales') + \\# add a title\n theme(axis.text.x = element\\_text(angle = -35)) \\# tilt the axis labels\n\nplot\\_profits{\\textless}-ggplot(dataset,aes(x=factor(Year),y=Profits,fill=Profits))+ xlab('Year') + ylab('Profits (\\$)') +\n geom\\_bar(stat='identity',colour='black') + \\# make a barchart of the data\n scale\\_fill\\_gradient(low='red',high='green') + \\# add a visual indicator\n ggtitle('Yearly profits') + \\# add a title\n theme(axis.text.x = element\\_text(angle = -35)) \\# tilt the axis labels\n\n\nknit2html('dashboard.Rmd') \\# produces the HTML file\n\n\n\nBasically the .R file acts as a container for the data import,\ntransformation and visualization methods while the .Rmd brings the\nvisualized data together in a readable format while making abstraction\nof the underlying R code. Actually, most of these steps can also be done\nwithin the .Rmd file, however, I personally find it more organized to\nkeep this seperated. For more information about how a .Rmd file is set\nup, minimal examples and chunk options check the knitr website.\nWhen we run the .R we get the following dashboard.\n5. Automatic updating of the dashboard\nThis is were a server comes into places. Basically you'll want to\nschedule the execution of the main .R file via a cronjob or a Windows\ntask. The time between executions is based on how vital the data is and\nthe frequency at which new data becomes available.\nRetrospect\nWell, did we achieve to adhere to the four key elemets? I'll leave that\nup to your assessment. I believe however that, in absence of other\ndashboard frameworks specifically suited for your purpose, this R-style\ndashboard can be set-up very quickly at no costs at all (excluding\ndevelopement).\nDownload files\ndashboard.R, dashboard.Rmd, dataset.xlsx},\n\turldate = {2013-11-02TZ},\n\tjournal = {R-bloggers},\n\tnote = {00000}\n}\n\n","key":"_creating_????","id":"_creating_????","bibbaseid":"anonymous-creatingabusinessdashboardinr","urls":{"Paper":"http://www.r-bloggers.com/creating-a-business-dashboard-in-r-2/"},"downloads":0},"search_terms":["creating","business","dashboard"],"keywords":[],"authorIDs":[],"dataSources":["jKB8eHXaPdryWNAKe"]}