Use mssqlR to query data from MS SQL Server. Based on the concept on Entity Framework, the package allows querying data from MS SQL Server Database.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.