get_segment_name: Get the name of a segment giving its id

View source: R/utils_global.R

get_segment_nameR Documentation

Get the name of a segment giving its id

Description

Get the name of a segment giving its id

Usage

get_segment_name(segment_id)

Arguments

segment_id

ID of segment, should be present in inst/config.yml

Value

Name of the segment, as specified in the configuration file, NULL otherwise.

Examples

## Not run:  #run if you want to create a inst/ directory containing config file
  create_config()
  get_segment_name(9000000000)
  
## End(Not run)

telraamStats documentation built on May 29, 2024, 10:08 a.m.