Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

Add jobs data by commodity #2156

Closed
coreycaitlin opened this issue Nov 23, 2016 · 8 comments
Closed

Add jobs data by commodity #2156

coreycaitlin opened this issue Nov 23, 2016 · 8 comments

Comments

@coreycaitlin
Copy link
Contributor

coreycaitlin commented Nov 23, 2016

We don't have jobs data by commodity at the county level, but we do have it at the state level. We could consider showing state-level jobs data by commodity in addition to general extractives jobs by county.

@usEITI
Copy link

usEITI commented Nov 25, 2016 via email

@meiqimichelle meiqimichelle added this to the Sprint-WinterWonderland milestone Mar 1, 2017
@meiqimichelle meiqimichelle removed this from the Sprint-WinterWonderland milestone Apr 17, 2017
@coreycaitlin coreycaitlin changed the title Feedback: Add jobs data by commodity Add jobs data by commodity May 10, 2017
@coreycaitlin
Copy link
Contributor Author

Within Wage and salary jobs, we'd like to have two sections instead of one. The first (what's there now) could be called "Jobs by county;" the second could be called "Jobs by industry."

screen shot 2017-05-10 at 2 41 31 pm

The "Jobs by industry" data isn't county-level, just state-level, so it would be much like this:

screen shot 2017-05-10 at 2 43 48 pm

@coreycaitlin
Copy link
Contributor Author

For the nav, we'll probably need to pull wage and salary out of the title of the section, and let the in-section content cover that.

Thus, the right-nav for this section would list:

  • GDP
  • Jobs by county
  • Jobs by industry
  • Self-employment
  • Exports

@coreycaitlin
Copy link
Contributor Author

see #2168 for prior discussion of which industries we're including.

@coreycaitlin
Copy link
Contributor Author

Upon further investigation, it looks like we might have county-level industry data after all! More next week...

@shawnbot
Copy link
Contributor

shawnbot commented May 17, 2017

Okay, so I'm working on updating our data at both the state and county level to include the industries listed in #2168. This called for a total rewrite (and simplification) of what we were doing before. Here are my tasks, marked up as subtasks in #2303:

  • Update data scripts to extract, transform, and load data by commodity
  • Update templates to render state-level data by commodity
  • Update YAML files to output commodity data by state and county
  • Validate/test

@shawnbot
Copy link
Contributor

Well, I'm working my way through this, and I think I've hit a blocker: the BLS data for some standout counties is wonky.

Using Eureka County, Nevada as an example: the latest BLS data for 2007 (search for "eureka") lists 3,092 jobs in Gold, out of 5,025 total jobs:

image

However, the 2008 data (search for "eureka") lists 4,452 jobs, but none in Gold or "Metal ore mining" (note: we don't output rows with zero jobs):

image

Our old 2007 data — which represents extractives totals — matches:

image

And, surprisingly, our 2008 data has zero rows for that county. So maybe it's not a blocker in the sense that the data hasn't changed since we last pulled it, but that the county-level data is unreliable?

@shawnbot
Copy link
Contributor

Okay, so it looks like the state data is good, and we're going to roll with that. County extractives jobs are definitely wonky, which you can see in Nevada when you switch between 2007 and 2008:

nv-jobs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants