perfect, thanks John!

On Wed, Mar 6, 2013 at 6:46 PM, John Laing <john.laing@gmail.com> wrote:

> Aidan,
>
> You're looking for SEMI_ANNUALLY. I found the answer in the Bloomberg API
> Developer's guide, which has in its appendices a dictionary of options and
> their acceptable values.
>
> -John
>
>
>  On Wed, Mar 6, 2013 at 1:04 PM, Aidan Corcoran <
> aidan.corcoran11@gmail.com> wrote:
>
>>  hi folks,
>>
>> just hoping someone could help me find the option needed to request
>> semi-annual data in a bdh call in rbbg.
>> I have tried the below with no success.
>> S,SEMI-ANNUALLY, SEMI-ANNUAL, SEMIANNUAL, SEMIANNUALLY
>> sample code below.
>>
>> thanks very much!
>> Aidan.
>>
>> sample code:
>> conn <- blpConnect()
>> o_names = c("periodicitySelection")
>> o_values = c('S')#doesn't work
>> tickers<-'"0701477d ln equity'
>> start.date <- as.Date("1jan1980", "%d%b%Y")
>> end.date <- as.Date("1jan2014", "%d%b%Y")
>> d<-bdh(conn, tickers, fields, start.date,end.date,option_names = o_names,
>> option_values = o_values)
>> Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl,  :
>>   com.bloomberglp.blpapi.InvalidConversionException: Cannot convert String
>> to Enumeration
>>
>>         [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> R-SIG-Finance@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
>> -- Subscriber-posting only. If you want to post, subscribe first.
>> -- Also note that this is not the r-help list where general R questions
>> should go.
>>
>
>

	[[alternative HTML version deleted]]

