pg_to_parquet: Save WRDS table as parquet file.

View source: R/pg_to_parquet.R

pg_to_parquetR Documentation

Save WRDS table as parquet file.

Description

Function to get data from a table on the WRDS PostgreSQL server and save to local parquet file using DuckDB.

Usage

pg_to_parquet(table_name, schema, data_dir = Sys.getenv("DATA_DIR"))

Arguments

table_name

Name of table on WRDS

schema

Database schema for table

data_dir

Directory for data repository

Value

Number of rows created


farr documentation built on May 29, 2024, 6:41 a.m.