Skip to content

Commit

Permalink
Merge pull request #24 from nhs-r-community/add-parameters
Browse files Browse the repository at this point in the history
Added detail about fix_invalid
  • Loading branch information
Lextuga007 authored Jan 26, 2024
2 parents 3c56632 + 8490756 commit 8298f6e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions vignettes/NHSRpostcodetools.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,17 @@ postcode_data_join(test_df1, fix_invalid = TRUE)
```

Note that the parameter `fix_invalid = TRUE` defaults to TRUE:

```{r}
postcode_data_join(test_df1)
```

And if it is set to FALSE the same message appears but the `new_postcode` is not
populated and has `NA`.

```{r}
postcode_data_join(test_df1, fix_invalid = FALSE)
```

0 comments on commit 8298f6e

Please sign in to comment.