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: [mg126741] Re: Using CountryData to Get US Population by State
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Sun, 3 Jun 2012 05:01:27 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201206020944.FAA01148@smc.vnet.net>

statePopulations = {#, WolframAlpha[
      "population of " <> #, {{"Result", 1}, "ComputableData"}]} & /@
      DeleteCases[
    CountryData["UnitedStates", "Regions"],
    "DistrictOfColumbia"];


Bob Hanlon

On Sat, Jun 2, 2012 at 5:44 AM, Gregory Lypny
<GREGORY.LYPNY at videotron.ca> wrote:
> Hello everyone,
>
> Can anyone help me with the syntax for CountryData so that I can get the population of individual US states?
>
> Regards,
>
> Gregory



  • Prev by Date: Re: Flattening a hypermatrix into an ordinary matrix
  • Next by Date: Re: Using CountryData to Get US Population by State
  • Previous by thread: Using CountryData to Get US Population by State
  • Next by thread: Re: Using CountryData to Get US Population by State