This commit is contained in:
Hong Ooi 2019-05-23 10:02:13 +10:00
Родитель d89fd032a5
Коммит 18973bc63a
3 изменённых файлов: 24 добавлений и 10 удалений

13
CONTRIBUTING.md Normal file
Просмотреть файл

@ -0,0 +1,13 @@
# Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.

Просмотреть файл

@ -8,8 +8,8 @@ Authors@R: c(
person("Microsoft", role = "cph")
)
Description: An interface to 'Azure Data Explorer', also known as 'Kusto', a fast, highly scalable data exploration service from Microsoft: <https://azure.microsoft.com/en-us/services/data-explorer/>. Includes 'DBI' and 'dplyr' interfaces, with the latter modelled after the 'dbplyr' package, whereby queries are translated from R into the native 'KQL' query language and executed lazily. On the admin side, the package extends the object framework provided by 'AzureRMR' to support creation and deletion of databases, and management of database principals.
URL: https://github.com/cloudyr/AzureKusto
BugReports: https://github.com/cloudyr/AzureKusto/issues
URL: https://github.com/Azure/AzureKusto
BugReports: https://github.com/Azure/AzureKusto/issues
License: MIT + file LICENSE
Encoding: UTF-8
VignetteBuilder: knitr

Просмотреть файл

@ -8,16 +8,17 @@ R interface to Kusto, also known as [Azure Data Explorer](https://azure.microsof
## Installation
AzureKusto is available on [CRAN](https://cran.r-project.org/web/packages/AzureKusto/index.html):
```r
install.packages("AzureKusto")
```
You can install the development version from GitHub. Note that if you are using Microsoft R, AzureKusto requires recent versions of some packages which will likely not be in your default MRAN snapshot. You can set the repository to CRAN before installing.
AzureKusto is available on [CRAN](https://cran.r-project.org/web/packages/AzureKusto/index.html). Note that if you are using Microsoft R, AzureKusto may not be in your default MRAN snapshot. You can set the repository to CRAN before installing.
```r
options(repos="https://cloud.r-project.org")
devtools::install_github("cloudyr/AzureKusto")
install.packages("AzureKusto")
```
You can install the development version from GitHub. The primary repo is https://github.com/Azure/AzureKusto; please submit issues and pull requests there. AzureKusto is also mirrored at the Cloudyr organisation, at https://github.com/cloudyr/AzureKusto.
```r
devtools::install_github("Azure/AzureKusto")
```
## Example usage
@ -167,7 +168,7 @@ dbGetQuery(Samples, "StormEvents | summarize ct = count()")
## Azure Resource Manager interface
On the admin side, AzureKusto extends the framework supplied by the [AzureRMR](https://github.com/cloudyr/AzureRMR) to support Kusto. Methods are provided to create and delete clusters and databases, and manage database principals.
On the admin side, AzureKusto extends the framework supplied by the [AzureRMR](https://github.com/Azure/AzureRMR) to support Kusto. Methods are provided to create and delete clusters and databases, and manage database principals.
```r
# create a new Kusto cluster