fes_describe_var: Print info about the variables present in the FES db

View source: R/lfcFES.R

fes_describe_varR Documentation

Print info about the variables present in the FES db

Description

fes_describe_var is a wrapper for the $describe_var method of lfcFES objects. See fes.

Usage

fes_describe_var(object, variables)

Arguments

object

lfcFES object, as created by fes

variables

character vector with the names of the variables to describe

Value

Description is printed in the console, nothing is returned

See Also

Other FES functions: fes_avail_tables(), fes_get_data(), fes()

Examples

if (interactive()) {
  fesdb <- fes()
  fes_describe_var(fesdb, "mushrooms_poduction")
  fes_describe_var(fesdb, c("exported_water", "animals_presence"))

  # fesdb is an R6 object, so the previous example is the same as:
  fesdb$describe_var("mushrooms_poduction")
  fesdb$describe_var(c("exported_water", "animals_presence"))
}


MalditoBarbudo/lfcdata documentation built on May 2, 2023, 10:30 p.m.