Skip to content

Commit

Permalink
add title and description to canned query. related to #8. related to #9
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Sanchez committed Apr 30, 2020
1 parent 4b76565 commit 42af730
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion datasette/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
},
"queries": {
"race_ethnicity_by_agency": {
"sql": "SELECT b.AGENCY_NAME as agency_name, SUM(RAE_BLACK_AFRICAN_AMERICAN) as n_black, SUM(RAE_HISPANIC_LATINO) as n_latinx, SUM(RAE_ASIAN) as n_asian, SUM(RAE_WHITE) as n_white FROM race_ethnicity as racen INNER JOIN aa_main_table as b ON b.UNIQUE_ID = racen.UNIQUE_ID GROUP BY agency_name"
"sql": "SELECT b.AGENCY_NAME as agency_name, SUM(RAE_BLACK_AFRICAN_AMERICAN) as n_black, SUM(RAE_HISPANIC_LATINO) as n_latinx, SUM(RAE_ASIAN) as n_asian, SUM(RAE_WHITE) as n_white FROM race_ethnicity as racen INNER JOIN aa_main_table as b ON b.UNIQUE_ID = racen.UNIQUE_ID GROUP BY agency_name",
"title": "Race / Ethnicity by Agency Name",
"description_html": "Stops by race/ethnicity by agency."
}
}
}
Expand Down

0 comments on commit 42af730

Please sign in to comment.