diff --git a/DESCRIPTION b/DESCRIPTION
index e763421..d64937d 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,7 +1,7 @@
Package: bcputility
Type: Package
Title: Wrapper for SQL Server bcp Utility
-Version: 0.4.3
+Version: 0.4.4
Authors@R: person("Thomas", "Roh", email = "thomas@roh.engineering", role = c("aut", "cre"))
Description: Provides functions to utilize a command line utility that does bulk inserts and exports from SQL Server databases.
License: MIT + file LICENSE
diff --git a/NEWS.md b/NEWS.md
index 71de574..2a3d0c0 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,3 +1,7 @@
+# bcputility 0.4.4
+
+* Updated readme to clarify dependencies and provide quick start examples.
+
# bcputility 0.4.3
* An error is now thrown for cases where a projection has an EPSG that is `NA`.
diff --git a/README.md b/README.md
index 952062c..cf4baa3 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# bcputility
+# bcputility
[![CRAN status](https://www.r-pkg.org/badges/version/bcputility)](https://CRAN.R-project.org/package=bcputility)
@@ -20,6 +20,11 @@ improves performance of large writes by using bulk inserts.
An export function is provided for convenience, but likely will not significantly
improve performance over other methods.
+## Prerequisites
+
+The system dependencies can be downloaded and installed from
+[Microsoft](https://learn.microsoft.com/en-us/sql/tools/bcp-utility#download-the-latest-version-of-the-bcp-utility).
+It is recommended to add `bcp` and `sqlcmd` to the system path.
## Installation
@@ -36,13 +41,38 @@ Install the development version with:
devtools::install_github("tomroh/bcputility")
```
-If *bcp* and *sqlcmd* is not on the system path or you want to override the default, set the option with the full file path:
+To check if the prerequisite binaries are on the path:
+
+```r
+bcpVersion()
+sqlcmdVersion()
+```
+
+If `bcp` and `sqlcmd` is not on the system path or you want to override the default, set the option with the full file path:
```r
options(bcputility.bcp.path = "")
options(bcputility.sqlcmd.path = "")
```
+## Usage
+
+Trusted Connection (default):
+
+```r
+x <- read.csv("")
+connectArgs <- makeConnectArgs(server = "", database = "")
+bcpImport(x = x, connectargs = connectArgs, table = "
")
+```
+
+SQL Authentication:
+
+```r
+connectArgs <- makeConnectArgs(server = "", database = "",
+ username = "", password = "")
+bcpImport(x = x, connectargs = connectArgs, table = table)
+```
+
## Benchmarks
Benchmarks were performed with a local installation of SQL Server Express.
diff --git a/docs/404.html b/docs/404.html
index 4090406..0e7ade7 100644
--- a/docs/404.html
+++ b/docs/404.html
@@ -34,7 +34,7 @@
bcputility
- 0.4.3
+ 0.4.4