Skip to content

Commit 7bcd3fb

Browse files
committed
Edits
1 parent 692be08 commit 7bcd3fb

2 files changed

Lines changed: 7 additions & 9 deletions

File tree

‎docs/advanced-analytics/r/creating-workflows-that-use-r-in-sql-server.md‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ manager: cgronlun
1313
# Create SSIS and SSRS workflows with R on SQL Server
1414
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md-winonly](../../includes/appliesto-ss-xxxx-xxxx-xxx-md-winonly.md)]
1515

16-
This article explains how to combine relational data, data science functions from the Microsoft R libraries, and BI features such as Integration Services and Reporting Services available in SQL Server. Learn which capabilities of [!INCLUDE[ssISnoversion](../../includes/ssisnoversion-md.md)] lend themselves to a data science solution. This article also reminds you that code and data on SQL Server, such as the embedded R code in stored procedures, is easily consumed in visualizations provided in [!INCLUDE[ssRSnoversion](../../includes/ssrsnoversion-md.md)].
16+
This article explains how to use stored procedures in two important SQL Server features, SQL Server Integration Services (SSIS), and SQL Server Reporting Services SSRS, in way that combines relational data, data science functions from the Microsoft R libraries, and BI features for coordinated data transformations and visualization. Learn which capabilities of [!INCLUDE[ssISnoversion](../../includes/ssisnoversion-md.md)] lend themselves to a data science solution. This article also reminds you that code and data on SQL Server, such as the embedded R code in stored procedures, is easily consumed in visualizations provided in [!INCLUDE[ssRSnoversion](../../includes/ssrsnoversion-md.md)].
1717

1818
## Bring compute power to the data
1919

@@ -28,7 +28,7 @@ By using the right combination of SQL and R for different data processing and an
2828

2929
<a name="bkmk_ssis"></a>
3030

31-
## Use SQL Server Integration Services (SSIS) for data transformation and automation
31+
## Use SSIS for data transformation and automation
3232

3333
Data science workflows are highly iterative and involve much transformation of data, including scaling, aggregations, computation of probabilities, and renaming and merging of attributes. Data scientists are accustomed to doing many of these tasks in R, Python, or another language; however, executing such workflows on enterprise data requires seamless integration with ETL tools and processes.
3434

@@ -45,11 +45,9 @@ Here are some ideas for how you can automate your data processing and modeling p
4545

4646
The following example originates from a now-retired MSDN blog post authored by Jimmy Wong at this URL: `https://blogs.msdn.microsoft.com/ssis/2016/01/11/operationalize-your-machine-learning-project-using-sql-server-2016-ssis-and-r-services/`.
4747

48-
This example shows you how to automate tasks using SSIS. You should be familiar with Management Studio, SSIS, SSIS Designer, and T-SQL. Steps in the SSIS package include three [Execute T-SQL tasks](https://docs.microsoft.com/sql/integration-services/control-flow/execute-t-sql-statement-task) that insert training data into a table, model the data, and score the data to get prediction output.
48+
This example shows you how to automate tasks using SSIS. You create stored procedures with embedded R using SQL Server Management Studio, and then execute those stored procedures from [Execute T-SQL tasks](https://docs.microsoft.com/sql/integration-services/control-flow/execute-t-sql-statement-task) in an SSIS package.
4949

50-
+ Call R using the [Execute T-SQL task](https://docs.microsoft.com/sql/integration-services/control-flow/execute-t-sql-statement-task) to generate data and save it into [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
51-
+ Use a stored procedure to train an R model and store it in the database.
52-
+ Perform scoring on the model using the [Script T-SQL task](https://docs.microsoft.com/ql/integration-services/control-flow/script-task) and the [Execute T-SQL task](https://docs.microsoft.com/sql/integration-services/control-flow/execute-t-sql-statement-task).
50+
To step through this example, you should be familiar with Management Studio, SSIS, SSIS Designer, package design, and T-SQL. The SSIS package uses three [Execute T-SQL tasks](https://docs.microsoft.com/sql/integration-services/control-flow/execute-t-sql-statement-task) that insert training data into a table, model the data, and score the data to get prediction output.
5351

5452
### Create tables
5553

@@ -190,7 +188,7 @@ In SSIS Designer, press F5 to execute the package. You should see an outcome sim
190188

191189
<a name="bkmk_ssrs"></a>
192190

193-
## Use Reporting Services for visualization
191+
## Use SSRS for visualizations
194192

195193
Although R can create charts and interesting visualizations, it is not well-integrated with external data sources, meaning that each chart or graph has to be individually produced. Sharing also can be difficult.
196194

@@ -211,4 +209,4 @@ This CodePlex project provides the code to help you create a custom report item
211209
212210
## Next steps
213211

214-
The SSIS and SSRS examples in this article illustrate alternative methods for using embedded R in stored procedures in production scenarios. One of the main takeaways is that you can make R or Python script available to any application or tool if it can accept output from a stored procedure. For more information, see [Operationalize R code using stored procedures in SQL Server Machine Learning Services](operationalizing-your-r-code.md).
212+
The SSIS and SSRS examples in this article illustrate two cases of executing stored procedures that contain embedded R or Python script. A key takeaway is that you can make R or Python script available to any application or tool that can send an execution request on a stored procedure. An additional takeaway for SSIS is that you can create packages that automate and schedule wide range of operations, such as data acquisition, cleansing, manipulation, and so forth, with R or Python data science functionality included in the chain of operations. For more information and ideas, see [Operationalize R code using stored procedures in SQL Server Machine Learning Services](operationalizing-your-r-code.md).

‎docs/advanced-analytics/toc.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
items:
231231
- name: Operationalize using stored procedures
232232
href: ../advanced-analytics/r/operationalizing-your-r-code.md
233-
- name: Create SSIS and SSRS workflows with R on SQL Server
233+
- name: Create SSIS and SSRS workflows with R
234234
href: ../advanced-analytics/r/creating-workflows-that-use-r-in-sql-server.md
235235
- name: Convert R code for SQL Server
236236
href: ../advanced-analytics/r/converting-r-code-for-use-in-sql-server.md

0 commit comments

Comments
 (0)