Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8759

Re: Importing data from the web

From Szabolcs <szhorvat@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Importing data from the web
Date 2012-02-27 11:42 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jifq7a$sn4$1@smc.vnet.net> (permalink)
References <jia0ne$1ar$1@smc.vnet.net>

Show all headers | View raw


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<>

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Importing data from the web maria giovanna dainotti <mariagiovannadainotti@yahoo.it> - 2012-02-25 06:56 +0000
  Re: Importing data from the web Szabolcs <szhorvat@gmail.com> - 2012-02-27 11:42 +0000
  Re: Importing data from the web Paperorbifold <kgodelNOSPAM@liberoNOSPAM.it> - 2012-02-27 11:40 +0000

csiph-web