Re: Using CountryData to Get US Population by State
- To: mathgroup at smc.vnet.net
- Subject: [mg126750] Re: Using CountryData to Get US Population by State
- From: "Kevin J. McCann" <kjm at KevinMcCann.com>
- Date: Sun, 3 Jun 2012 16:03:20 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <201206020944.FAA01148@smc.vnet.net> <jqf97p$a5m$1@smc.vnet.net>
An observation about the results: all of the states have integer
populations except Georgia, which is floating point. Curious.
Kevin
On 6/3/2012 5:02 AM, Bob Hanlon wrote:
> 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
>
- References:
- Using CountryData to Get US Population by State
- From: Gregory Lypny <GREGORY.LYPNY@videotron.ca>
- Using CountryData to Get US Population by State