DataUSA / datausa-tracker

0 stars 0 forks source link

remove unavailable geo levels from cubes #179

Closed jspeis closed 6 years ago

jspeis commented 6 years ago

this is a side-effect of the slimmed down tables, but we should remove unavailable cubes from the dimension drilldowns (eg if a cube does not support tract level data or does have have zip data, we should not show those levels in the cube) otherwise it will confuse users

hwchen commented 6 years ago

Currently, zip and county_subdivision are already removed in fossil-lake.

The issue is with tracts, which I've left in for some tables but not others. One @jspeis mentioned was to have two separate shared geo tables, one with tract and one without.

Actually, there's an additional issue: this is a more general problem, where some acs tables may not have any data for certain geographies (especially smaller ones like place). This we cannot know ahead of time, as far as I know. Any thoughts here @jspeis?

On Tue, Oct 16, 2018 at 1:59 PM, Jonathan Speiser notifications@github.com wrote:

Assigned #179 https://github.com/Datawheel/datausa-tracker/issues/179 to @hwchen https://github.com/hwchen.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/Datawheel/datausa-tracker/issues/179#event-1907537067, or mute the thread https://github.com/notifications/unsubscribe-auth/ADm0ix9EoUg1vyoZgel_vNwfWYcK6Bw2ks5ulh52gaJpZM4Xfiy0 .

jspeis commented 6 years ago

@hwchen I'm not aware of any tables that don't have any coverage for places?

I would think that there would be only a limited number of cases (likely only those that are new and only have 1-year tables available?). How many ACS tables that we use are missing data for all places? (EDIT: and by that I mean, have 0 data on places)

hwchen commented 6 years ago

hmmm... maybe you're right, that there's no table that would be missing data for all of a geo level. But I guess I'd have to check that.

On Tue, Oct 16, 2018 at 3:04 PM, Jonathan Speiser notifications@github.com wrote:

@hwchen https://github.com/hwchen I'm not aware of any tables that don't have any coverage for places?

I would think that there would be only a limited number of cases (likely only those that are new and only have 1-year tables available?). How many ACS tables that we use are missing data for all places?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Datawheel/datausa-tracker/issues/179#issuecomment-430359318, or mute the thread https://github.com/notifications/unsubscribe-auth/ADm0i33rqq1coh90I8e6A_pKlm6HQPuvks5uli2ngaJpZM4Xfiy0 .

jspeis commented 6 years ago

(the only examples I can think of off the top of my head are that there are no zip or tracts in any 1-year ACS tables)

jspeis commented 6 years ago

I'm actually going to close this actually for now as we will just use the hide_in_ui for tracts we should be ok in the mean time