Skip to content

Commit

Permalink
Run styler
Browse files Browse the repository at this point in the history
  • Loading branch information
EeethB committed Feb 1, 2024
1 parent 0e1a305 commit 8f5fc66
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
14 changes: 8 additions & 6 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,14 @@ adsl %>%
Furthermore, if you're calling all xportr functions at once with common metadata and verbosity, you can shorten it by simply using `xportr()`.

```{r, warning=FALSE, message=FALSE, eval=FALSE}
xportr(.df = adsl,
var_metadata = var_spec,
df_metadata = dataset_spec,
domain = "ADSL",
verbose = "warn",
"adsl.xpt")
xportr(
.df = adsl,
var_metadata = var_spec,
df_metadata = dataset_spec,
domain = "ADSL",
verbose = "warn",
"adsl.xpt"
)
```

That's it! We now have a xpt file created in R with all appropriate types, lengths, labels, ordering and formats. Please check out the [Get Started](https://atorus-research.github.io/xportr/articles/xportr.html) for more information and detailed walk through of each `xportr_` function.
Expand Down
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,14 @@ Furthermore, if you’re calling all xportr functions at once with common
metadata and verbosity, you can shorten it by simply using `xportr()`.

``` r
xportr(.df = adsl,
var_metadata = var_spec,
df_metadata = dataset_spec,
domain = "ADSL",
verbose = "warn",
"adsl.xpt")
xportr(
.df = adsl,
var_metadata = var_spec,
df_metadata = dataset_spec,
domain = "ADSL",
verbose = "warn",
"adsl.xpt"
)
```

That’s it! We now have a xpt file created in R with all appropriate
Expand Down

0 comments on commit 8f5fc66

Please sign in to comment.