Skip to content

Commit 940b63c

Browse files
committed
Minor wording corrections.
1 parent f0ddf08 commit 940b63c

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

README.md

+25-25
Original file line numberDiff line numberDiff line change
@@ -217,19 +217,19 @@ customer.data$customer
217217
```
218218

219219
## ID_customer customerno givenname surname
220-
## 1 908503 C0023751 Sarah Durbin
221-
## 2 622386 C0017439 Mark Durbin
222-
## 3 54904 C0248538 Max Brunner
223-
## 4 966861 C0271182 Urs Richli
224-
## 5 66802 C0019935 Clara-Sophie Dr. Hellmann
225-
## 6 481398 C0019935 Thomas Chang
220+
## 1 263023 C0023751 Sarah Durbin
221+
## 2 597336 C0017439 Mark Durbin
222+
## 3 59960 C0248538 Max Brunner
223+
## 4 159381 C0271182 Urs Richli
224+
## 5 83969 C0019935 Clara-Sophie Dr. Hellmann
225+
## 6 465004 C0019935 Thomas Chang
226226
## email FKID_address username
227-
## 1 [email protected] 580621 queenofqueens
228-
## 2 [email protected] 580621 durby82
229-
## 3 [email protected] 410413 brunnermax_69
230-
## 4 [email protected] 412941 ursrichli
231-
## 5 [email protected] 193389 helli
232-
## 6 [email protected] 30581 tchango123
227+
## 1 [email protected] 674038 queenofqueens
228+
## 2 [email protected] 674038 durby82
229+
## 3 [email protected] 149765 brunnermax_69
230+
## 4 [email protected] 718252 ursrichli
231+
## 5 [email protected] 977313 helli
232+
## 6 [email protected] 112551 tchango123
233233

234234
As you can see, each customer record has been assigned a primary key,
235235
`ID_customer`. The argument `prefix.primary` of the `toRelational()`
@@ -252,11 +252,11 @@ customer.data$address
252252
```
253253

254254
## ID_address street postalcode FKID_city FKID_country
255-
## 1 580621 139 W Jackson Blvd 60604 621329 473079
256-
## 2 410413 Rotkreuzplatz 5 80634 757239 185200
257-
## 3 412941 Seestrasse 43 6052 406741 939506
258-
## 4 193389 Brienner Strasse 11 80333 757239 185200
259-
## 5 30581 539 Lombard St 94133 649895 473079
255+
## 1 674038 139 W Jackson Blvd 60604 735977 495268
256+
## 2 149765 Rotkreuzplatz 5 80634 2299 352009
257+
## 3 718252 Seestrasse 43 6052 448761 817914
258+
## 4 977313 Brienner Strasse 11 80333 2299 352009
259+
## 5 112551 539 Lombard St 94133 70561 495268
260260

261261
Again, the address points to other tables, namely the `city` and the
262262
`country` table. As we would have expected, the two Munich addresses
@@ -364,7 +364,7 @@ case you can use the `line.break` argument to define how the different
364364
`CREATE` statement are to be separated (apart from a semicolon that is
365365
added by default).
366366

367-
To export the data as such you habe two options:
367+
To export the data as such you have two options:
368368

369369
- you export ready-to-execute SQL `INSERT` statements using
370370
`getInsertSQL()` function
@@ -378,10 +378,10 @@ insert.sql <- getInsertSQL(customer.data, table.name = "city")
378378
cat(insert.sql, sep="\n")
379379
```
380380

381-
## INSERT INTO city(ID_city, name, state) VALUES (621329, 'Chicago', 'Illinois');
382-
## INSERT INTO city(ID_city, name, state) VALUES (757239, 'Munich', 'Bavaria');
383-
## INSERT INTO city(ID_city, name, state) VALUES (406741, 'Hergiswil', 'Luzern');
384-
## INSERT INTO city(ID_city, name, state) VALUES (649895, 'San Francisco', 'California');
381+
## INSERT INTO city(ID_city, name, state) VALUES (735977, 'Chicago', 'Illinois');
382+
## INSERT INTO city(ID_city, name, state) VALUES (2299, 'Munich', 'Bavaria');
383+
## INSERT INTO city(ID_city, name, state) VALUES (448761, 'Hergiswil', 'Luzern');
384+
## INSERT INTO city(ID_city, name, state) VALUES (70561, 'San Francisco', 'California');
385385

386386
You can also export all the tables of your relational model with
387387
`savetofiles()`:
@@ -391,7 +391,7 @@ savetofiles(customer.data)
391391
```
392392

393393
This will save as many CSV files to your current working directory as
394-
you have tables in you model (`customer.data`). Each file is named for
394+
you have tables in your model (`customer.data`). Each file is named for
395395
the name of the dataframe connected to the respective table, so
396396
`city.csv` will store the data from the `city` table.
397397

@@ -400,8 +400,8 @@ available. Please check the online help for more details.
400400

401401
## Contact the author
402402

403-
I appreciate your questions, issues and feature request. Contact me on
403+
I appreciate your questions, issues and feature requests. Contact me on
404404
<[email protected]>, visit the GitHub repository on
405-
<https://github.com/jsugarelli/xml2relational> for the packages source
405+
<https://github.com/jsugarelli/xml2relational> for the package source
406406
and [follow me on Twitter](https://twitter.com/jsugarelli) to stay
407407
up-to-date\!

README.rmd

+3-3
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ Alternatively, you can also use the built-in mechanism for determining the data
226226

227227
By setting the logical `one.statement` argument to `TRUE` you can let `getcreateSQL()` return the `CREATE` statements in one character value instead of a vector with one element per `CREATE` statement. In this case you can use the `line.break` argument to define how the different `CREATE` statement are to be separated (apart from a semicolon that is added by default).
228228

229-
To export the data as such you habe two options:
229+
To export the data as such you have two options:
230230

231231
* you export ready-to-execute SQL `INSERT` statements using `getInsertSQL()` function
232232
* you save the data to CSV files using `savetofiles()`.
@@ -242,12 +242,12 @@ You can also export all the tables of your relational model with `savetofiles()`
242242
```{r eval=TRUE}
243243
savetofiles(customer.data)
244244
```
245-
This will save as many CSV files to your current working directory as you have tables in you model (`customer.data`). Each file is named for the name of the dataframe connected to the respective table, so `city.csv` will store the data from the `city` table.
245+
This will save as many CSV files to your current working directory as you have tables in your model (`customer.data`). Each file is named for the name of the dataframe connected to the respective table, so `city.csv` will store the data from the `city` table.
246246

247247

248248
More optional arguments for most of the functions discussed here are available. Please check the online help for more details.
249249

250250

251251
## Contact the author
252252

253-
I appreciate your questions, issues and feature request. Contact me on [email protected], visit the GitHub repository on https://github.com/jsugarelli/xml2relational for the packages source and [follow me on Twitter](https://twitter.com/jsugarelli) to stay up-to-date!
253+
I appreciate your questions, issues and feature requests. Contact me on [email protected], visit the GitHub repository on https://github.com/jsugarelli/xml2relational for the package source and [follow me on Twitter](https://twitter.com/jsugarelli) to stay up-to-date!

0 commit comments

Comments
 (0)