Skip to content

Instantly share code, notes, and snippets.

@jgravois
Last active June 29, 2018 23:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgravois/84f2a1c8aff373ce18e4bba78ffd6fdf to your computer and use it in GitHub Desktop.
Save jgravois/84f2a1c8aff373ce18e4bba78ffd6fdf to your computer and use it in GitHub Desktop.
Economic Development app variables
{
"topTapestrySegmentMedianAgeEV": "",
"topTapestrySegmentMedianIncomeEV": "TapestryNEW.TOP1INCOME",
"topTapestrySegmentNameEV": "TapestryNEW.TOP1NAME",
"topTapestrySegmentPercentEV": "TapestryNEW.TOP1PRC",
"topTapestrySegmentTypeEV": "TapestryNEW.TOP1TYPE",
"topTapestrySegmentNumberEV": "TapestryNEW.TOP1NUM",
"secondTapestrySegmentMedianAgeEV": "TapestryNEW.TOP2AGE",
"secondTapestrySegmentMedianIncomeEV": "TapestryNEW.TOP2INCOME",
"secondTapestrySegmentNameEV": "TapestryNEW.TOP2NAME",
"secondTapestrySegmentPercentEV": "TapestryNEW.TOP2PRC",
"secondTapestrySegmentTypeEV": "TapestryNEW.TOP2TYPE",
"secondTapestrySegmentNumberEV": "TapestryNEW.TOP2NUM",
"thirdTapestrySegmentMedianAgeEV": "TapestryNEW.TOP3AGE",
"thirdTapestrySegmentMedianIncomeEV": "TapestryNEW.TOP3INCOME",
"thirdTapestrySegmentNameEV": "TapestryNEW.TOP3NAME",
"thirdTapestrySegmentPercentEV": "TapestryNEW.TOP3PRC",
"thirdTapestrySegmentTypeEV": "",
"thirdTapestrySegmentNumberEV": "",
"populationEstimateEV": "",
"daytimePopulationEstimateEV": "DaytimePopulation.DPOP_CY",
"perCapitaIncomeEV": "householdincome.PCI_CY",
"medianDisposableIncomeEV": "disposableincome.MEDDI_CY",
"medianHouseholdIncomeEV": "householdincome.MEDHINC_CY",
"medianHomeValueEV": "homevalue.MEDVAL_CY",
"diversityIndexEV": "raceandhispanicorigin.DIVINDX_CY",
"medianAgeEV": "gender.MEDAGE_CY",
"populationGrowthEV": "populationtotals.POPGRWCYFY",
"averageHouseholdSizeEV": "basicFactsForMobileApps.AVGHHSZ_CY",
"unemploymentRateEV": "industry.UNEMPRT_CY",
"medianHomeValueEV": "homevalue.MEDVAL_CY",
"averageHouseholdSizeEV": "basicFactsForMobileApps.AVGHHSZ_CY",
"medianRentPriceEV": "housingcosts.ACSMEDCRNT"
}
@jgravois
Copy link
Author

jgravois commented Jun 29, 2018

by default, the application relies on the default variables above internally. if a corresponding variable is present in the application's configuration JSON, it will take precedence and be used to drive the statistics displayed in the application footer.

"values": {
  "daytimePopulationEstimateEV": "KeyCanFacts.ECYDAYPOP",
  "populationEstimateEV": "KeyCanFacts.ECYPTAPOP",
  "applicationMode": "business",
}

screenshot 2018-06-29 15 00 34

the Data Demographic Browser is a helpful tool for exploring enrichment variables. Once you've pinpointed the variables you'd like to substitute, you can use ArcGIS Online Assistant to make your edits.

screenshot 2018-06-29 15 33 55

Note:

example item / example JSON

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment