def depth_to_col_name(depth):
    """
    Derives the proper name of the column for locations given a depth.
    """
    if depth == 0:
        return "location"

    else:
        return "sub_" * depth + "lctn"