load_schema: Load all tables in a schema into an environment

View source: R/load_tables.R

load_schemaR Documentation

Load all tables in a schema into an environment

Description

Load all tables in a schema into an environment

Usage

load_schema(con, schema, env = parent.frame())

Arguments

con

connection to wrds

schema

name of schema to use

env

environment to assign these variables in

Details

This is not meant to be used in a production context where more targeted approaches probably make more sense. But for users who are relatively new to using SQL and, for example, want to just load all available crsp tables into memory, this could be useful. Anyway this is probably bad practice, and usually annoys me, but in this case I think it might be useful.


be-green/wrds documentation built on Jan. 14, 2023, 8:44 a.m.