gen_temp_indices: Generate a set of indices

View source: R/gen_random_table.R

gen_temp_indicesR Documentation

Generate a set of indices

Description

This is a helper function, that produces a random set of distinct integers between 1 and maxlength, inclusive.

Usage

gen_temp_indices(size = 1000, max_index, seed = NULL, engine = default_engine)

Arguments

size

number of ids to return (default 1000)

Value

a string name of the temporary table created

Examples

indices = gen_temp_indices(size=100000,max_index=14e10, seed=NULL, engine=mycon)
indices = gen_temp_indices(size=1000,max_index=250000, seed=12345, engine=mycon)


lmullany/pmap_utilities documentation built on July 30, 2023, 8:54 a.m.