wrds_read | R Documentation |
Before being able to open the connection, you need to follow the steps
here to set up your .pgpass
file.
wrds_read(query, wrds, numrows = -1, data.table = TRUE)
query |
string including the SQL query syntax for WRDS (see their webpage) |
wrds |
connection created with the |
numrows |
number of observations you want to get, default is all the available ones. |
data.table |
set to FALSE if you want a normal data.frame. |
a data.table or .frame containing the WRDS data requested
data <- wrds_read( "select mgrname from tfn.s34 where fdate between '2013-01-02' and '2015-03-02' ", numrows=100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.