Skip to content

Commit

Permalink
Merge pull request #342 from georgetown-cset/293-a-ton-of-companies-t…
Browse files Browse the repository at this point in the history
…hat-are-in-mature-stage-labelled-unknown

Fix stage creation to pull all employee counts
  • Loading branch information
jmelot authored May 16, 2024
2 parents 446044a + f5c16d9 commit 539b574
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions company_linkage/sql/visualization_data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ WITH
-- Now we convert numbers to stage names!
add_employees AS (
SELECT
org_uuid,
organizations.uuid as org_uuid,
CASE
WHEN employee_count = "10000+" THEN 2
WHEN employee_count = "5001-10000" THEN 2
Expand All @@ -74,9 +74,9 @@ WITH
END
AS stage_num
FROM
combine_stages
LEFT JOIN
gcp_cset_crunchbase.organizations
LEFT JOIN
combine_stages
ON
combine_stages.org_uuid = organizations.uuid ),
stage_name AS (
Expand Down

0 comments on commit 539b574

Please sign in to comment.