This is a package for WRDS users. Its only purpose is to create an odbc connection based on a Data Source configured in your operating system.
The package was only tested in Windows. It requires that you set up a Data Source in the ODBC Data Sources manager, and set it up as follows:
Data source name: wrds-postgres
It also requires you install a PostgreSQL driver.
Once everything runs, just type
wrds_connect()
and an ODBC connection named wrds
will be created in your .GlobalEnv
(or within the environment of the function you're writing).
The package also contains some utilities for querying WRDS for table and column names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.