From 8aede9a82a6d161dbfa754f12949fb87f8136933 Mon Sep 17 00:00:00 2001 From: Rob Baker Date: Wed, 8 May 2024 21:11:04 -0600 Subject: [PATCH] auto update via devtools::document and pkgdown --- docs/pkgdown.yml | 2 +- docs/reference/fix_utc_offset.html | 6 ++---- docs/reference/replace_blanks.html | 14 +++++++++++++- man/replace_blanks.Rd | 8 ++++---- 4 files changed, 20 insertions(+), 10 deletions(-) diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index a114c78..ead1b5a 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -5,5 +5,5 @@ articles: DRR_Purpose_and_Scope: DRR_Purpose_and_Scope.html Starting-a-DRR: Starting-a-DRR.html Using-the-DRR-Template: Using-the-DRR-Template.html -last_built: 2024-05-08T21:59Z +last_built: 2024-05-09T03:08Z diff --git a/docs/reference/fix_utc_offset.html b/docs/reference/fix_utc_offset.html index cb0a783..a070cf5 100644 --- a/docs/reference/fix_utc_offset.html +++ b/docs/reference/fix_utc_offset.html @@ -91,10 +91,8 @@

Examples

"2023-11-16T03:32:49","2023-11-16T03:32:49Z") fix_utc_offset(datetimes) #> Warning: Date strings contain missing or invalid UTC offsets -#> [1] "2023-11-16T03:32:49+0700" -#> [2] "2023-11-16T03:32:49-0700" -#> [3] "2023-11-16T03:32:49" -#> [4] "2023-11-16T03:32:49+0000" +#> [1] "2023-11-16T03:32:49+0700" "2023-11-16T03:32:49-0700" +#> [3] "2023-11-16T03:32:49" "2023-11-16T03:32:49+0000" diff --git a/docs/reference/replace_blanks.html b/docs/reference/replace_blanks.html index 7dc2e2e..410cb31 100644 --- a/docs/reference/replace_blanks.html +++ b/docs/reference/replace_blanks.html @@ -106,7 +106,19 @@

Details

Examples

- +
 # \donttest{
+#replaces all blank cells in .csvs in the current directory with NA:
+ replace_blanks()
+
+#replace all blank cells in .csvs in the directory ./test_data with "NODATA"
+ dir <- here::here("test_data")
+ replace_blanks(directory = dir, missing_val_code = "NODATA")
+#> Warning: cannot create file 'C:/Users/rlbaker/Documents/RDev/QCkit_devspace/test_data/NA.csv', reason 'No such file or directory'
+
+#replace all blank cells in .csvs in the current directory with -99999
+replace_blanks(missing_val_code = -99999)
+# }
+