diff --git a/app/choropleth-config/index.js b/app/choropleth-config/index.js index acba5a93..ec3305b1 100644 --- a/app/choropleth-config/index.js +++ b/app/choropleth-config/index.js @@ -172,7 +172,7 @@ const choroplethConfigs = [ }, { group: 'Census', - id: 'pop65pl', + id: 'pop65pl1', label: '65 Years and Over', tooltip: 'Population 65 years and over', legendTitle: 'Population 65 years and over', diff --git a/app/components/data-table-row-change.js b/app/components/data-table-row-change.js index 5e51fb1e..64b90a2e 100644 --- a/app/components/data-table-row-change.js +++ b/app/components/data-table-row-change.js @@ -36,7 +36,7 @@ export default Component.extend({ noPriorData: computed('data.previous.sum', function() { const { 'data.previous': previous } = this.getProperties('data.previous'); - if (previous && (typeof previous.sum === 'undefined' || previous.sum === null)) { + if ((previous && (typeof previous.sum === 'undefined' || previous.sum === null)) || typeof previous === 'undefined') { return true } return false diff --git a/app/components/data-table-row-previous.js b/app/components/data-table-row-previous.js index b120d4a5..8bfc906e 100644 --- a/app/components/data-table-row-previous.js +++ b/app/components/data-table-row-previous.js @@ -33,7 +33,7 @@ export default Component.extend({ noPriorData: computed('data.previous.sum', function() { const { 'data.previous': previous } = this.getProperties('data.previous'); - if (previous && (typeof previous.sum === 'undefined' || previous.sum === null)) { + if ((previous && (typeof previous.sum === 'undefined' || previous.sum === null)) || typeof previous === 'undefined') { return true } return false diff --git a/app/components/map-search.js b/app/components/map-search.js index 4efc917a..e8ef8143 100644 --- a/app/components/map-search.js +++ b/app/components/map-search.js @@ -134,6 +134,7 @@ export default Component.extend({ const selection = this.get('selection'); selection.set('searchResultFeature', null); + selection.set('currentAddress', []); }, goTo(result) { diff --git a/app/table-config/acs/demographic/sex-and-age.js b/app/table-config/acs/demographic/sex-and-age.js index be16af2c..a07113f2 100644 --- a/app/table-config/acs/demographic/sex-and-age.js +++ b/app/table-config/acs/demographic/sex-and-age.js @@ -113,7 +113,7 @@ export default [ { title: 'Under 18 years', classNames: '', - data: 'popu18', + data: 'popu181', }, { title: '65 years and over', @@ -125,7 +125,8 @@ export default [ }, { title: 'Median age (years)', - tooltip: 'Medians are calculated using linear interpolation, which may result in top-coded values', + tooltip: + 'Medians are calculated using linear interpolation, which may result in top-coded values', classNames: '', data: 'mdage', special: true, diff --git a/app/table-config/acs/social/place-of-birth.js b/app/table-config/acs/social/place-of-birth.js index 2f93eb18..8ca26dc3 100755 --- a/app/table-config/acs/social/place-of-birth.js +++ b/app/table-config/acs/social/place-of-birth.js @@ -50,6 +50,26 @@ export default [ title: 'Northern Europe', data: 'neur', }, + { + indent: 2, + title: 'Denmark', + data: 'denmark', + }, + { + indent: 2, + title: 'Ireland', + data: 'ireland', + }, + { + indent: 2, + title: 'Norway', + data: 'norway', + }, + { + indent: 2, + title: 'Sweden', + data: 'sweden', + }, { indent: 2, title: 'United Kingdom (inc. Crown Dependencies)', @@ -70,26 +90,6 @@ export default [ title: 'Scotland', data: 'scot', }, - { - indent: 2, - title: 'Ireland', - data: 'ireland', - }, - { - indent: 2, - title: 'Denmark', - data: 'denmark', - }, - { - indent: 2, - title: 'Norway', - data: 'norway', - }, - { - indent: 2, - title: 'Sweden', - data: 'sweden', - }, { indent: 2, title: 'Other Northern Europe', @@ -185,6 +185,11 @@ export default [ title: 'Belarus', data: 'belarus', }, + { + indent: 2, + title: 'Bosnia and Herzegovina', + data: 'bosniah', + }, { indent: 2, title: 'Bulgaria', @@ -217,13 +222,13 @@ export default [ }, { indent: 2, - title: 'North Macedonia (Macedonia)', - data: 'mcdonia', + title: 'Moldova', + data: 'moldova', }, { indent: 2, - title: 'Moldova', - data: 'moldova', + title: 'North Macedonia (Macedonia)', + data: 'mcdonia', }, { indent: 2, @@ -245,11 +250,6 @@ export default [ title: 'Ukraine', data: 'ukraine', }, - { - indent: 2, - title: 'Bosnia and Herzegovina', - data: 'bosniah', - }, { indent: 2, title: 'Serbia', @@ -374,6 +374,11 @@ export default [ title: 'South Eastern Asia', data: 'seasia', }, + { + indent: 2, + title: 'Burma (Myanmar)', + data: 'burma', + }, { indent: 2, title: 'Cambodia', @@ -394,11 +399,6 @@ export default [ title: 'Malaysia', data: 'malaysia', }, - { - indent: 2, - title: 'Burma', - data: 'burma', - }, { indent: 2, title: 'Philippines', @@ -801,11 +801,6 @@ export default [ title: 'Central America', data: 'cam', }, - { - indent: 3, - title: 'Mexico', - data: 'mexico', - }, { indent: 3, title: 'Belize', @@ -831,6 +826,11 @@ export default [ title: 'Honduras', data: 'honduras', }, + { + indent: 3, + title: 'Mexico', + data: 'mexico', + }, { indent: 3, title: 'Nicaragua', diff --git a/app/table-config/census/detailed-race-and-ethnicity.js b/app/table-config/census/detailed-race-and-ethnicity.js index 56e86a39..8ed0fb01 100644 --- a/app/table-config/census/detailed-race-and-ethnicity.js +++ b/app/table-config/census/detailed-race-and-ethnicity.js @@ -166,7 +166,7 @@ export default [ indent: 3, }, { - data: 'weurazrbn', + data: 'weurazrbjn', title: 'Azerbaijani', indent: 3, }, @@ -221,7 +221,7 @@ export default [ indent: 3, }, { - data: 'weurengsh', + data: 'weurenglsh', title: 'English', indent: 3, }, @@ -301,7 +301,7 @@ export default [ indent: 3, }, { - data: 'weurmtgrn', + data: 'weurmntgrn', title: 'Montenegrin', indent: 3, }, @@ -331,12 +331,12 @@ export default [ indent: 3, }, { - data: 'weurscdvn', + data: 'weurscndvn', title: 'Scandinavian', indent: 3, }, { - data: 'weursirsh', + data: 'weurstirsh', title: 'Scots-Irish', indent: 3, }, @@ -376,7 +376,7 @@ export default [ indent: 3, }, { - data: 'weurtrksh', + data: 'WEurTrksh', title: 'Turkish', indent: 3, }, @@ -396,7 +396,7 @@ export default [ indent: 2, }, { - data: 'wmenaagrn', + data: 'wmenaalgrn', title: 'Algerian', indent: 3, }, @@ -406,12 +406,12 @@ export default [ indent: 3, }, { - data: 'wmenaegtn', + data: 'wmenaegptn', title: 'Egyptian', indent: 3, }, { - data: 'wmenairn', + data: 'WMENAIrn', title: 'Iranian', indent: 3, }, @@ -441,7 +441,7 @@ export default [ indent: 3, }, { - data: 'wmenapstn', + data: 'wmenaplstn', title: 'Palestinian', indent: 3, }, @@ -466,7 +466,7 @@ export default [ indent: 2, }, { - data: 'wothastrn', + data: 'wothastrln', title: 'Australian', indent: 3, }, @@ -476,12 +476,12 @@ export default [ indent: 3, }, { - data: 'wothfrcdn', + data: 'wothfrcndn', title: 'French Canadian', indent: 3, }, { - data: 'wothnzldr', + data: 'wothnzlndr', title: 'New Zealander', indent: 3, }, @@ -499,7 +499,7 @@ export default [ indent: 2, }, { - data: 'bssafbrkb', + data: 'bssafbrknb', title: 'Burkinabe', indent: 3, }, @@ -509,12 +509,12 @@ export default [ indent: 3, }, { - data: 'bssafcgls', + data: 'bssafcngls', title: 'Congolese', indent: 3, }, { - data: 'bssafethn', + data: 'bssafethpn', title: 'Ethiopian', indent: 3, }, @@ -559,7 +559,7 @@ export default [ indent: 3, }, { - data: 'bssafsgls', + data: 'bssafsngls', title: 'Senegalese', indent: 3, }, @@ -589,7 +589,7 @@ export default [ indent: 2, }, { - data: 'bcrbatbrb', + data: 'bcrbantbrb', title: 'Antiguan and Barbudan', indent: 3, }, @@ -604,7 +604,7 @@ export default [ indent: 3, }, { - data: 'bcrbdmis', + data: 'bcrbdmncis', title: 'Dominica Islander', indent: 3, }, @@ -624,7 +624,7 @@ export default [ indent: 3, }, { - data: 'bcrbktnv', + data: 'bcrbktnnev', title: 'Kittian and Nevisian', indent: 3, }, @@ -639,12 +639,12 @@ export default [ indent: 3, }, { - data: 'bcrbusvis', + data: 'bcrbusvgis', title: 'U.S. Virgin Islander', indent: 3, }, { - data: 'bcrbvnctn', + data: 'bcrbvncntn', title: 'Vincentian', indent: 3, }, @@ -656,7 +656,7 @@ export default [ { data: 'both', title: 'Other Black or African American', - indent: 3, + indent: 2, }, { title: 'American Indian and Alaska Native', @@ -672,17 +672,17 @@ export default [ indent: 2, }, { - data: 'aianainbf', + data: 'aianainbft', title: 'Blackfeet Tribe of the Blackfeet Indian Reservation of Montana', indent: 4, }, { - data: 'aianainch', + data: 'aianainchr', title: 'Cherokee', indent: 4, }, { - data: 'aiancnain', + data: 'aiancnamin', title: 'Central American Indian (all tribes)', indent: 2, }, @@ -692,7 +692,7 @@ export default [ indent: 2, }, { - data: 'aianmxina', + data: 'aianmxinaz', title: 'Aztec', indent: 3, }, @@ -702,7 +702,7 @@ export default [ indent: 2, }, { - data: 'aiansaiei', + data: 'aiansaieci', title: 'Ecuadorian Indian', indent: 3, }, @@ -712,7 +712,7 @@ export default [ indent: 3, }, { - data: 'aiansaiic', + data: 'aiansaiinc', title: 'Inca', indent: 3, }, @@ -722,7 +722,7 @@ export default [ indent: 2, }, { - data: 'aiancrbt', + data: 'aiancrbtno', title: 'Taino', indent: 3, }, @@ -732,7 +732,7 @@ export default [ indent: 2, }, { - data: 'aianmsinm', + data: 'aianmsinmy', title: 'Maya', indent: 3, }, @@ -742,10 +742,10 @@ export default [ { data: 'aea', title: 'East Asian', - indent: 3, + indent: 2, }, { - data: 'aeachnsnt', + data: 'aeachnsnot', title: 'Chinese, except Taiwanese', indent: 3, }, @@ -805,7 +805,7 @@ export default [ indent: 3, }, { - data: 'asabngdsh', + data: 'asabngldsh', title: 'Bangladeshi', indent: 3, }, @@ -850,7 +850,7 @@ export default [ indent: 3, }, { - data: 'aseaindsn', + data: 'aseaindnsn', title: 'Indonesian', indent: 3, }, @@ -860,7 +860,7 @@ export default [ indent: 3, }, { - data: 'aseasgprn', + data: 'aseasngprn', title: 'Singaporean', indent: 3, }, @@ -893,7 +893,7 @@ export default [ indent: 3, }, { - data: 'nhpiplysm', + data: 'nhpiplysmn', title: 'Samoan', indent: 3, }, @@ -903,7 +903,7 @@ export default [ indent: 2, }, { - data: 'nhpimcchr', + data: 'nhpimcchmr', title: 'Chamorro', indent: 3, }, diff --git a/app/templates/components/data-table-row-change.hbs b/app/templates/components/data-table-row-change.hbs index ed18a59f..a16fec9c 100644 --- a/app/templates/components/data-table-row-change.hbs +++ b/app/templates/components/data-table-row-change.hbs @@ -208,7 +208,11 @@ + {{#unless (not this.rowConfig.data)}} Data for this row are not comparable or are unavailable + {{else}} +   + {{/unless}} {{else}}   diff --git a/app/templates/components/data-table-row-current.hbs b/app/templates/components/data-table-row-current.hbs index 43608997..60394809 100644 --- a/app/templates/components/data-table-row-current.hbs +++ b/app/templates/components/data-table-row-current.hbs @@ -19,7 +19,7 @@ class="cell-border-left no-compare-message" colspan={{if this.reliability "5" "2"}} > - Data are not available + Data are suppressed for selected area {{else}} {{data-table-column-group diff --git a/app/templates/components/data-table-row-previous.hbs b/app/templates/components/data-table-row-previous.hbs index 4beed059..c5879f47 100644 --- a/app/templates/components/data-table-row-previous.hbs +++ b/app/templates/components/data-table-row-previous.hbs @@ -19,7 +19,7 @@ class="cell-border-left no-compare-message" colspan={{if this.reliability "5" "2"}} > - Data are not available + Data are suppressed for selected area {{else}} {{data-table-column-group @@ -139,7 +139,11 @@ + {{#unless (not this.rowConfig.data)}} Data for this row are not comparable or are unavailable + {{else}} +   + {{/unless}} {{else}}   diff --git a/app/topics-config/census.js b/app/topics-config/census.js index 8e3655fb..9817b6a5 100644 --- a/app/topics-config/census.js +++ b/app/topics-config/census.js @@ -30,7 +30,7 @@ export default [ id: 'detailedRaceAndEthnicity', label: 'Detailed Race and Ethnicity', labelText: - 'Detailed race and ethnicity data represent the group alone or in any combination. The Census Bureau only publishes detailed race and ethnicity data for NYC at a tract, county, and city level. All other geographies are calculated by the Department of City Planning. Because of suppression, aggregate counts incorporate nonsampling error.', + "Detailed race & ethnicity data represent the count of people identifying with each group. This count includes people identifying solely with a particular group and people identifying with multiple groups. Tract-level noise & suppression can result in compounded NTA-level error. See 'About' page for more.", selected: 'unselected', type: 'subtopic', tableConfig: censusTableConfig.detailedRaceAndEthnicity,