Skip to content

Commit

Permalink
Added detail about fix_invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
Lextuga007 committed Jan 26, 2024
1 parent 3c56632 commit 8490756
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 8490756

Please sign in to comment.