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


Groups > comp.soft-sys.math.mathematica > #10232 > unrolled thread

Re: Restricting Data from Wolfram|Alpha Input into Mathematica

Started byMike McCraith <sandwaterhand@gmail.com>
First post2012-05-28 09:09 +0000
Last post2012-05-28 09:09 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Restricting Data from Wolfram|Alpha Input into Mathematica Mike McCraith <sandwaterhand@gmail.com> - 2012-05-28 09:09 +0000

#10232 — Re: Restricting Data from Wolfram|Alpha Input into Mathematica

FromMike McCraith <sandwaterhand@gmail.com>
Date2012-05-28 09:09 +0000
SubjectRe: Restricting Data from Wolfram|Alpha Input into Mathematica
Message-ID<jpvfca$q41$1@smc.vnet.net>
Thanks everyone for the help!

But, one question remains: Where the heck do you learn all of this stuff?
 I pour over the included documentation and this forum before asking a
question.  I can't seem to find a good place that says basically "this
symbol means this in Mathematica".

On Sun, May 27, 2012 at 4:40 AM, Bob Hanlon <hanlonr357@gmail.com> wrote:

> cattleAfrica = Cases[WolframAlpha["Number of Cattle in Africa",
>    "DataRules",
>    IncludePods -> {"PropertyRanking:CountryData"}],
>   {_Integer, _String, _Integer?(10^6 <= # <= 10^7 &)},
>   Infinity];
>
> ListPlot[Tooltip[Drop[#, {2}], #] & /@ cattleAfrica,
>  Frame -> True, Axes -> False]
>
>
> Bob Hanlon
>
>
> On Sat, May 26, 2012 at 5:12 AM, Mike McCraith <sandwaterhand@gmail.com>
> wrote:
> >
> > Hello!
> >
> > I have the following code which brings up the number of cattle, by all
> > countries, in Africa.
> >
> > WolframAlpha["Number of Cattle in Africa",
> >  IncludePods -> {"PropertyRanking:CountryData"}]
> >
> > Is there any way of only displaying the values (country name and
> population
> > number)  that are between 1 and 10 million for instance?
> >
> > Also, is there an automatic way of extracting those values (population
> > numbers, not the country name) and then turning them into a data set?
> >
> > Thanks much for reading and any help!
> >
> > Mike
> >
>
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web