Skip to content

Commit a29ae8a

Browse files
authored
add link to orders argument reprex
Added information about the 'orders' argument and a reproducible example link.
1 parent 9128efa commit a29ae8a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

episodes/clean-data.Rmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,8 @@ the dataset (if `target_columns = NULL`) and convert them into the **Ymd** form
337337
We invite you to find the key package that makes this standardisation possible inside `{cleanepi}` by reading the Details section of the
338338
[Standardize date variables reference manual](https://epiverse-trace.github.io/cleanepi/reference/standardize_dates.html#details)!
339339

340+
Also, check how to use the `orders` argument if you want to target US format character strings. You can explore [this reproducible example](https://github.com/epiverse-trace/cleanepi/discussions/262).
341+
340342
:::::::::::::::::::
341343

342344
### Converting to numeric values
@@ -345,6 +347,7 @@ In the raw dataset, some columns can come with mixture of character and numerica
345347
character values for numbers explicitly into numeric values (e.g. `"seven"` to `7`). For example, in our simulated data set, in the age column some entries are
346348
written in words. In `{cleanepi}` the function `convert_to_numeric()` does such conversion as illustrated in the below
347349
code chunk.
350+
348351
```{r}
349352
sim_ebola_data <- cleanepi::convert_to_numeric(sim_ebola_data,
350353
target_columns = "age"

0 commit comments

Comments
 (0)