Skip to content

Commit

Permalink
simplified validation step.
Browse files Browse the repository at this point in the history
  • Loading branch information
Degoot-AM committed Aug 1, 2024
1 parent 9043cc9 commit 44b6203
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions episodes/clean-data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -359,16 +359,13 @@ and re-run the above code segment.


To ensure that all tagged variables are standardized and have the correct data
types, use the `linelist::validate_tags()` and `linelist::validate_types()` functions, respectively, as
types, use the `linelist::validate_list()`, as
shown in the example below:

```r
linelist::validate_tags(data,
linelist::validate_linelist(data,
allow_extra = FALSE
)
linelist::validate_types(data,
ref_types = tags_types()
)
```
If your dataset contains a `non-default` tag, set the argument
`allow_extra = TRUE` when creating the linelist object.
Expand Down

0 comments on commit 44b6203

Please sign in to comment.