BdlConnection: Create an FTP connection to Bloomberg Datalicense

Description Usage Arguments Value Examples

Description

Create an FTP connection to Bloomberg Datalicense

Usage

1
BdlConnection(user, pw, key, sftp = FALSE)

Arguments

user

The account number assigned by Bloomberg

pw

The password of your Bloomberg account

key

The DES decryption key of your Bloomberg account

sftp

if TRUE, then an sftp connection is established. On some Linux systems, this may not work out of the box, as libcurl does not natively support sftp. In that case, you need to compile curl with SFTP support. See here for details: http://askubuntu.com/questions/195545/how-to-enable-sftp-support-in-curl

Value

an S3 BdlConnection object, used to upload requests and download prices.

Examples

1
2
3
4
#these are dummy credentials. Replace with the credentials received from Bloomberg 
con <- BdlConnection(user = 'dl111111', 
                     pw = 'XvH,gE2A', 
                     key = '3xzZl0yA')

gluc/datalicenseR documentation built on May 17, 2019, 6:40 a.m.