vecToChunk: Variable vector into chunks.

Description Usage Arguments Details Value References Examples

View source: R/vecToChunk.R

Description

vecToChunk takes a list of variables and collects them into 50-variable chunks.

Usage

1

Arguments

x

Character vector of variable names.

Details

This function takes a list of variable names and collects them into chunks with no more than 50 variables each. This helps to get around requests with more than 50 variables,because the API only allows queries of 50 variables at a time. The user should not need to call this function directly.

Value

Object of class list.

References

Based on code authored by Nicholas Nagle, which is available here.

Examples

1
vecToChunk(x = c(paste("P012F0", seq(10:49), sep = ""), paste("P012I0", seq(10, 49), sep = "")))

HJ08003/HJwru documentation built on May 6, 2019, 9:47 p.m.