Tag Info

New answers tagged

1

Using Charles proxy, I was able see that ExampleData calls pacletserver.wolfram.com. With Charles recording, I ran ExampleData[{"Text", "AliceInWonderland"}] and it gave me this.


1

You can increase the network timeout for WolframAlpha calls by using: SetOptions[WolframAlpha, TimeConstraint -> 300] for example.


2

Guesswhoitis gave a nice solution to this problem on the comments above: LatticeData[lattice, "Image"] /. Sphere[cents_, r_] :> Sphere[cents, 2 r] Specifically, I did LatticeData["SimpleCubic", "Image"] /. Sphere[cents_, r_] -> Ball[cents, 24 r] (I also transformed spheres to balls here). It works because if you take a look at the InputForm[] of ...


2

Late to the party: I found this question today while testing out how to apply time constraints to functions accessing curated data (How to set the timeout value for *Data functions). In order to test a function accessing curated data, I had to clear the cached data on my computer, so I could reproduce the conditions of a first access and the accompanying ...


1

You could wrap the call to the *Data function in TimeConstrained. This function will evaluate its argument for the maximum number of seconds specified. If the computation has not completed in that time, it will return $Aborted. Of course, you will probably have to manage the aborted computation somehow, but from my reading of your question that doesn't seem ...


2

You can't--unfortunately--change where the financial data comes from (the exception is with Bloomberg data and the Finance Platform product), but you can easily grab data from Yahoo Finance. Here's an example grabbing the name, ask, and bid price of three companies: yahoostockquote[tickers_] := Module[ {ql = If[ListQ@tickers, StringRiffle[tickers, "+"], ...


1

WolframAlpha["mars Gravitational Constant mass product", {{"Result", 1}, "NumberData"}] 4.28*10^13 or WolframAlpha["mars Gravitational Constant mass product", {{"Result", 1}, "ComputableData"}] Quantity[4.28*10^13, ("Meters")^3/("Seconds")^2]



Top 50 recent answers are included