If you want to get some interesting statistics about a location in one line of code, try Datacommons.
Datacommons is a publicly available data from open sources (census.gov, cdc.gov, data.gov, etc.). In the example above, I used Datacommons to get the median income in California over time.
Find other interesting statistics using Datacommons here.