vars_not_converted: Catalog location- and profile-data variables that are...

Description Usage Arguments Value Examples

View source: R/vars_not_converted.R

Description

The function vars_not_converted catalogs location- and profile-data variables that are candidates for units conversion but for which a units conversion was not applied. vars_not_converted is a helper function that is called within data_homogenization(). Output is bound to the convesionNotes objet, generated in data_homogenization() and documented in the homogenization notes file (PDF).

Usage

1
vars_not_converted(varType, unitsSource, joinedUnits, unitsConversionReference)

Arguments

varType

The type of variable ("location", "profile") passed as a string to be documented.

Value

A tibble or data frame object that is merged with other conversion notes, and included in the homogenization report file (PDf).

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 

 vars_not_converted("location"),
 vars_not_converted("profile")

 bind_rows(
   conversionNotes,
   vars_not_converted("location"),
   vars_not_converted("profile")
  )


## End(Not run)

lter/soilHarmonization documentation built on Nov. 8, 2021, 7:56 a.m.