Learn R Programming

telraamStats (version 1.1.2)

get_segment_name: 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)

Value

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

Arguments

segment_id

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

Examples

Run this code
if (FALSE)  #run if you want to create a inst/ directory containing config file
  create_config()
  get_segment_name(9000000000)
  

Run the code above in your browser using DataLab