[R] Please assist me to download this data

Christofer Bogaso bogaso.christofer at gmail.com
Mon Jul 25 22:30:45 CEST 2016


Just have tried this :

library(RCurl)
x = postForm("https://www.amfiindia.com/net-asset-value/nav-history",
'NAV Date' = "25-Jul-2016")

However doesnt look like I get valid data, because I still can get
result for some future date as well!!

Any other option I should try?

On Tue, Jul 26, 2016 at 1:53 AM, boB Rudis <bob at rudis.net> wrote:
> Valid parameters for the form would be super-helpful.
>
> On Mon, Jul 25, 2016 at 3:52 PM, Ulrik Stervbo <ulrik.stervbo at gmail.com> wrote:
>> Hi Christofer,
>>
>> If you can load all the data into R you don't need to query the website -
>> you simply filter the data by your dates.
>>
>> I think that's the easiest solution.
>>
>> Best wishes,
>> Ulrik
>>
>> Christofer Bogaso <bogaso.christofer at gmail.com> schrieb am Mo., 25. Juli
>> 2016 21:30:
>>
>>> Hi Ulrik, Thanks for your reply. I am aware of that link and this is a
>>> good option. However with this approach, I can not get Data
>>> historically. I would like to create some TS in R for each MF there.
>>>
>>> Any other idea?
>>>
>>> Thanks,
>>>
>>> On Tue, Jul 26, 2016 at 12:53 AM, Ulrik Stervbo <ulrik.stervbo at gmail.com>
>>> wrote:
>>> > The easiest might be to download the entire dataset and filter it
>>> > appropriately. If I follow your link and press Download, I get the
>>> option to
>>> > "Download Complete NAV Report in Text Format" and will result in this:
>>> > http://portal.amfiindia.com/NAVReport.aspx?type=0
>>> >
>>> > It is not the easiest format to get into R, and you might have to
>>> > pre-process it.
>>> >
>>> > Best,
>>> > Ulrik
>>> >
>>> > On Mon, 25 Jul 2016 at 20:37 Christofer Bogaso <
>>> bogaso.christofer at gmail.com>
>>> > wrote:
>>> >>
>>> >> Hi again,
>>> >>
>>> >> I am trying to find some way to download all data historically from
>>> >> this website "https://www.amfiindia.com/net-asset-value/nav-history".
>>> >>
>>> >> Basically what I am trying to do is, I shall have a range of dates and
>>> >> for each date I need to download entire dataset programmatically.
>>> >>
>>> >> Really appreciate if experts here help.
>>> >>
>>> >> Thanks,
>>> >>
>>> >> ______________________________________________
>>> >> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>>> >> https://stat.ethz.ch/mailman/listinfo/r-help
>>> >> PLEASE do read the posting guide
>>> >> http://www.R-project.org/posting-guide.html
>>> >> and provide commented, minimal, self-contained, reproducible code.
>>>
>>
>>         [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list