MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Using CountryData to Get US Population by State

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126748] Re: Using CountryData to Get US Population by State
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Sun, 3 Jun 2012 16:02:39 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201206020944.FAA01148@smc.vnet.net>

Harvey's solution is much faster than mine. Here is his in detail

(statePopulations = WolframAlpha[
    "population of states in the United States",
    {{"PropertyRanking:USStateData", 1},
     "ComputableData"}]) // Grid


Bob Hanlon

On Sun, Jun 3, 2012 at 4:59 AM, Harvey P. Dale <hpd1 at nyu.edu> wrote:
>        You could submit this query to WolframAlpha: "population o=
f
> states in the United States"
>        Best,
>        Harvey
>
> -----Original Message-----
> From: Gregory Lypny [mailto:GREGORY.LYPNY at videotron.ca]
> Sent: Saturday, June 02, 2012 5:45 AM
> To: mathgroup at smc.vnet.net
> Subject: Using CountryData to Get US Population by State
>
> Hello everyone,
>
> Can anyone help me with the syntax for CountryData so that I can get the
> population of individual US states?
>
> Regards,
>
> Gregory
>
>
>



--
Bob Hanlon



  • Prev by Date: Re: Using CountryData to Get US Population by State
  • Next by Date: Re: Using CountryData to Get US Population by State
  • Previous by thread: Re: Using CountryData to Get US Population by State
  • Next by thread: Re: Using CountryData to Get US Population by State