Skip to content

Commit

Permalink
Fix R CMD Check fail
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-loos committed Oct 4, 2023
1 parent 82e7aea commit 351ea92
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion R/water_samples.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#' \item{T_avg}{Average ambient temperature at the time of the sampling}
#' \item{pH}{Acidity/basicity of the sample using the pH value.}
#' \item{TOC}{Total organic carbon (TOC) is an analytical parameter representing the concentration of organic carbon in a sample.}
#' \item{alkalinity}{Alkalinity of the sample as mg of bicarbonate (HCO3) per liter (mg[HCO3]/L).}
#' \item{alkalinity}{Alkalinity of the sample as mg of bicarbonate (HCO3) per liter (mg_HCO3/L).}
#' \item{DO}{Dissolved oxygen (DO) levels in environmental water depend on the physiochemical and biochemical activities in water body and it is an important useful in pollution and waste treatment process control.}
#' \item{ORP}{Oxidation reduction potential (ORP) in (mV).}
#' \item{eH}{Redox potential (eH) in (mV).}
Expand Down
2 changes: 2 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,5 @@ citation("grdwtrsmpkwale")
```

## Related References (TBD)


5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ double
</td>
<td style="text-align:left;">
Alkalinity of the sample as mg of bicarbonate (HCO3) per liter
(mg\[HCO3\]/L).
(mg_HCO3/L).
</td>
<td style="text-align:left;">
as mg/L HCO3
Expand Down Expand Up @@ -2720,7 +2720,7 @@ Data are available as

#> To cite package 'grdwtrsmpkwale' in publications use:
#>
#> Zhong M, Loos S (2023). _grdwtrsmpkwale: Groundwater analysis from
#> Zhong M, Loos S (????). _grdwtrsmpkwale: Groundwater analysis from
#> 2016 in Kwale, Kenya_. R package version 0.0.0.9000,
#> <https://github.com/openwashdata/grdwtrsmpkwale>.
#>
Expand All @@ -2729,7 +2729,6 @@ Data are available as
#> @Manual{,
#> title = {grdwtrsmpkwale: Groundwater analysis from 2016 in Kwale, Kenya},
#> author = {Mian Zhong and Sebastian Camilo Loos},
#> year = {2023},
#> note = {R package version 0.0.0.9000},
#> url = {https://github.com/openwashdata/grdwtrsmpkwale},
#> }
Expand Down
8 changes: 5 additions & 3 deletions data-raw/data_processing.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ selected_samples_raw <- read_excel(here::here("data-raw", "samples.xlsx"),
sheet = "Selected points sampled weekly",
.name_repair = "unique")

# laod periodic system data
# load periodic system data
data(periodicTable)
periodic_data <- periodicTable |> select(c(numb:name))

Expand All @@ -61,7 +61,8 @@ samples_march_raw <- samples_march_raw |>
utm_y = `UTM-Y`,
date = Data,
conductivity = Cond.,
T_avg = Tª,
T_avg = `T<U+00AA>`,
# T_avg = Tª,
delta_O_18 = `d 18O`,
delta_H_2 = d2H) |>
rename_with(.cols = c(Localization, Geology, Alkalinity),
Expand Down Expand Up @@ -95,7 +96,8 @@ samples_june_raw <- samples_june_raw |>
utm_y = `UTM-Y`,
date = Data,
conductivity = Cond.,
T_avg = Tª,
T_avg = `T<U+00AA>`,
# T_avg = Tª,
delta_O_18 = `d 18O`,
delta_H_2 = d2H) |>
rename_with(.cols = c(Localization, Geology, Alkalinity),
Expand Down
2 changes: 1 addition & 1 deletion data-raw/dictionary.csv
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data/,water_samples.rda,conductivity,double,Conductivity of the sample in (µS/c
data/,water_samples.rda,T_avg,double,Average ambient temperature at the time of the sampling,°C,NA
data/,water_samples.rda,pH,double,Acidity/basicity of the sample using the pH value.,NA,NA
data/,water_samples.rda,TOC,double,Total organic carbon (TOC) is an analytical parameter representing the concentration of organic carbon in a sample.,(mg/L),NA
data/,water_samples.rda,alkalinity,double,Alkalinity of the sample as mg of bicarbonate (HCO3) per liter (mg[HCO3]/L).,as mg/L HCO3,NA
data/,water_samples.rda,alkalinity,double,Alkalinity of the sample as mg of bicarbonate (HCO3) per liter (mg_HCO3/L).,as mg/L HCO3,NA
data/,water_samples.rda,DO,double,Dissolved oxygen (DO) levels in environmental water depend on the physiochemical and biochemical activities in water body and it is an important useful in pollution and waste treatment process control.,(mg/L),NA
data/,water_samples.rda,ORP,double,Oxidation reduction potential (ORP) in (mV).,mV,NA
data/,water_samples.rda,eH,double,Redox potential (eH) in (mV).,mV,NA
Expand Down
Binary file removed data-raw/dictionary.xlsx
Binary file not shown.
Binary file modified data-raw/samples.xlsx
Binary file not shown.
Binary file modified inst/extdata/selected_samples.xlsx
Binary file not shown.
Binary file modified inst/extdata/water_samples.xlsx
Binary file not shown.
2 changes: 1 addition & 1 deletion man/water_samples.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 351ea92

Please sign in to comment.