Re: Importing data from the web
- To: mathgroup at smc.vnet.net
- Subject: [mg125189] Re: Importing data from the web
- From: Szabolcs <szhorvat at gmail.com>
- Date: Mon, 27 Feb 2012 06:41:15 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <jia0ne$1ar$1@smc.vnet.net>
On Saturday, 25 February 2012 08:56:46 UTC+2, maria giovanna dainotti wrote: > Dear Math Group, > > I have a problem importing the data from a web page. > > data4 = {{"050318", "00111529"}, {"050401", "00113120"}} > Do[ > ID = data4[[i, 2]]; > s = Import["http://www.swift.ac.uk/xrt_curves/<>ID<>", "Text"]; > Print[s], > {i, 1, Length[data4]}] > > The error message is > $Failed > > I am really grateful if you could help me > > Best regards, > Maria You have misplaced a quotation mark. "http://www.swift.ac.uk/xrt_curves/<>ID<>" should be "http://www.swift.ac.uk/xrt_curves/"<>ID<>