From 1968b6486b1a21f9b40f8aaf8111e26ed8168734 Mon Sep 17 00:00:00 2001 From: andrewxhill Date: Wed, 20 Apr 2016 15:31:05 -0400 Subject: [PATCH] not sure where to put this table... --- doc/methods.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/methods.md b/doc/methods.md index 1cae40f..a3bd7da 100644 --- a/doc/methods.md +++ b/doc/methods.md @@ -38,13 +38,20 @@ UPDATE tablename SET local_male_population = OBS_GetUSCensusMeasure(the_geom, 'M Get a measure at a single point location ```SQL -SELECT * FROM json_each(OBS_GetMeasure(CDB_LatLng(40.7, -73.9), 'Male Population')) +SELECT * FROM json_each(OBS_GetUSCensusMeasure(CDB_LatLng(40.7, -73.9), 'Male Population')) ``` +#### OBS_GetUSCensusMeasure names table + +Below is a list of human readable names accepted in the ```OBS_GetUSCensusMeasure``` method. For the more comprehensive list of columns available to the ```OBS_GetMeasure``` method, see the [Data Catalog] + +"Aggregate travel time to work", "American Indian and Alaska Native Population", "Asian Men age 45 to 54", "Asian Men age 55 to 64", "Asian Population", "Black Men age 45 to 54", "Black Men age 55 to 64", "Black or African American Population", "Children under 18 Years of Age", "Commuters by Bus", "Commuters by Carpool", "Commuters by Car, Truck, or Van", "Commuters by Public Transportation", "Commuters by Subway or Elevated", "Commuters who drove alone", "Currently married", "Divorced", "Employed Population", "Families with young children (under 6 years of age)", "Female Population", "Gini Index", "Hispanic Men age 45 to 54", "Hispanic Men age 55 to 64", "Hispanic Population", "Households", "Households with income less than $10,000", "Households with income of $100,000 To $124,999", "Households with income of $10,000 to $14,999", "Households with income of $125,000 To $149,999", "Households with income of $150,000 To $199,999", "Households with income of $15,000 to $19,999", "Households with income of $200,000 Or More", "Households with income of $20,000 To $24,999", "Households with income of $25,000 To $29,999", "Households with income of $30,000 To $34,999", "Households with income of $35,000 To $39,999", "Households with income of $40,000 To $44,999", "Households with income of $45,000 To $49,999", "Households with income of $50,000 To $59,999", "Households with income of $60,000 To $74,999", "Households with income of $75,000 To $99,999", "Housing Units", "Income In The Past 12 Months Below Poverty Level", "Male Population", "Married but separated", "Median Age", "Median Household Income in the past 12 Months", "Median Rent", "Men age 45 to 49", "Men age 45 to 64 ("middle aged")", "Men age 45 to 64 who attained between 9th and 12th grade, no diploma", "Men age 45 to 64 who attained less than a 9th grade education", "Men age 45 to 64 who completed high school or obtained GED", "Men age 45 to 64 who completed some college, no degree", "Men age 45 to 64 who obtained a bachelor's degree", "Men age 45 to 64 who obtained a graduate or professional degree", "Men age 45 to 64 who obtained an associate's degree", "Men age 50 to 54", "Men age 55 to 59", "Men age 60 to 61", "Men age 62 to 64", "Never Married", "Not a U.S. Citizen Population", "Number of workers with a commute between 10 and 14 minutes", "Number of workers with a commute between 15 and 19 minutes", "Number of workers with a commute between 20 and 24 minutes", "Number of workers with a commute between 25 and 29 minutes", "Number of workers with a commute between 30 and 34 minutes", "Number of workers with a commute between 35 and 44 minutes", "Number of workers with a commute between 45 and 59 minutes", "Number of workers with a commute of over 60 minutes", "Number of workers with less than 10 minute commute", "One-parent families, father in labor force, with young children (under 6 years of age)", "One-parent families, father, with young children (under 6 years of age)", "One-parent families with young children (under 6 years of age)", "Other Race population", "Owner-occupied Housing Units", "Owner-occupied Housing Units valued at $1,000,000 or more.", "Owner-occupied Housing Units with a Mortgage", "Per Capita Income in the past 12 Months", "Percent of Household Income Spent on Rent", "Population 15 Years and Over", "Population 25 Years and Over", "Population 3 Years and Over", "Population 5 Years and Over", "Population age 16 and over", "Population Completed Associate's Degree", "Population Completed Bachelor's Degree", "Population Completed High School", "Population completed less than one year of college, no degree", "Population Completed Master's Degree", "Population completed more than one year of college, no degree", "Population for Whom Poverty Status Determined", "Population in Armed Forces", "Population in Civilian Labor Force", "Population in Labor Force", "Population not Hispanic", "Population Not in Labor Force", "Speaks only English at Home", "Speaks Spanish at Home", "Students Enrolled as Undergraduate in College", "Students Enrolled in Grades 1 to 4", "Students Enrolled in Grades 5 to 8", "Students Enrolled in Grades 9 to 12", "Students Enrolled in School", "Total Population", "Two or more races population", "Two-parent families, both parents in labor force with young children (under 6 years of age)", "Two-parent families, father only in labor force with young children (under 6 years of age)", "Two-parent families, mother only in labor force with young children (under 6 years of age)", "Two-parent families, neither parent in labor force with young children (under 6 years of age)", "Two-parent families with young children (under 6 years of age)", "Unemployed Population", "US Census Block Group Geoids", "Vacant Housing Units", "Vacant Housing Units for Rent", "Vacant Housing Units for Sale", "Walked to Work", "White Men age 45 to 54", "White Men age 55 to 64", "White Population", "Widowed", "Worked at Home", "Workers age 16 and over who do not work from home", "Workers over the Age of 16" + + ## OBS_GetUSCensusMeasure(polygon_geometry, measure_name); The ```OBS_GetUSCensusMeasure(point_geometry, measure_name)``` method returns a measure based on a subset of the US Census variables within a given polygon. The ```OBS_GetUSCensusMeasure``` method is limited to only a subset of all measures that are available in the Data Observatory, to access the full list, use the ```OBS_GetMeasure``` method below.