This function replaces the column names in the mergedSourceDf data frame in a rock_parsedSource or rock_parsedSources object with the full paths to those code identifiers.

codeIds_to_codePaths(
  x,
  stripRootsFromCodePaths = rock::opts$get("stripRootsFromCodePaths")
)

Arguments

x

A rock_parsedSource or rock_parsedSources object as returned by a call to parse_source() or parse_sources().

stripRootsFromCodePaths

Whether to strip the roots first (i.e. the type of code)

Value

An adapted rock_parsedSource or rock_parsedSources object.