Learn R Programming

SCDB (version 0.5.1)

unique_table_name: Create a name for a temporary table

Description

This function is heavily inspired by the unexported dbplyr function unique_table_name

Usage

unique_table_name(scope = "SCDB")

Value

A character string for a table name based on the given scope parameter

Arguments

scope

(character(1))
A naming scope to generate the table name within.

Examples

Run this code
  print(unique_table_name()) # SCDB_<10 alphanumerical letters>
  print(unique_table_name()) # SCDB_<10 alphanumerical letters>

  print(unique_table_name("test")) # test_<10 alphanumerical letters>
  print(unique_table_name("test")) # test_<10 alphanumerical letters>

Run the code above in your browser using DataLab