Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GSDE redunancies #8

Open
khufkens opened this issue Sep 10, 2021 · 0 comments
Open

GSDE redunancies #8

khufkens opened this issue Sep 10, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@khufkens
Copy link
Contributor

https://github.com/stineb/ingestr/blob/ca11362b956c52d28c72e5d3d68de08e129bdcca/R/ingest.R#L864

Can be replaced by a single mutate using zoo::nalocf()

Layer depths can be specified as, as static

bottom_values <- c(4.5, 9.1, 16.6, 28.9, 49.3, 82.9, 138.3, 229.6)

df_layers <- tibble(
  layer = 1:8,
  depth = diff(c(0, bottom_values))
  )
@khufkens khufkens added the enhancement New feature or request label Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant