{
 "slug": "water-and-sewers",
 "name": "Water and sewers",
 "definition": "Water supply, Hetch Hetchy, reservoirs, sewers and wastewater.",
 "url": "https://data.qipu.org/usa/san-francisco/topics/water-and-sewers/",
 "release": "v0.9.2",
 "lead": [
  "San Francisco moved early to take over its water supply, declaring the private Spring Valley company's works forfeited in 1907 and buying Hetch Hetchy lands.",
  "Later decisions authorized bonds to build the Hetch Hetchy system, bought Spring Valley's water system in 1930, and funded big sewer programmes."
 ],
 "lead_by": "a model (topic_story.py), from the turning-point records only",
 "filed_by": "a model per decision (topic_filing.py), checked against the rules or the topic's words (topics.final_sql)",
 "counts": {
  "decisions": 16896,
  "decision_years": [
   1906,
   2026
  ],
  "report_passages": 221,
  "reports": 63,
  "budget_table_rows": 606,
  "budget_table_years": [
   1932,
   1998
  ]
 },
 "decades": {
  "decisions": [
   [
    1900,
    1060
   ],
   [
    1910,
    3158
   ],
   [
    1920,
    2667
   ],
   [
    1930,
    1993
   ],
   [
    1940,
    1334
   ],
   [
    1950,
    1440
   ],
   [
    1960,
    548
   ],
   [
    1970,
    943
   ],
   [
    1980,
    916
   ],
   [
    1990,
    845
   ],
   [
    2000,
    635
   ],
   [
    2010,
    770
   ],
   [
    2020,
    587
   ]
  ]
 },
 "turning_points": [
  {
   "id": "qipu:sf/decision/journalofproceed02sanfrich:117/2",
   "date": "1907-02-28",
   "record": "https://data.qipu.org/usa/san-francisco/record/?id=qipu%3Asf%2Fdecision%2Fjournalofproceed02sanfrich%3A117%2F2",
   "scan": "https://archive.org/details/journalofproceed02sanfrich/page/n116"
  },
  {
   "id": "qipu:sf/decision/journalofproceed1908sanfrich:534/1",
   "date": "1908-06-01",
   "record": "https://data.qipu.org/usa/san-francisco/record/?id=qipu%3Asf%2Fdecision%2Fjournalofproceed1908sanfrich%3A534%2F1",
   "scan": "https://archive.org/details/journalofproceed1908sanfrich/page/n534"
  },
  {
   "id": "qipu:sf/decision/journalofproceed1910sanfrich:233/3",
   "date": "1910-02-21",
   "record": "https://data.qipu.org/usa/san-francisco/record/?id=qipu%3Asf%2Fdecision%2Fjournalofproceed1910sanfrich%3A233%2F3",
   "scan": "https://archive.org/details/journalofproceed1910sanfrich/page/n230"
  },
  {
   "id": "qipu:sf/decision/journalofproceed23sanfrich:2010/1",
   "date": "1928-09-17",
   "record": "https://data.qipu.org/usa/san-francisco/record/?id=qipu%3Asf%2Fdecision%2Fjournalofproceed23sanfrich%3A2010%2F1",
   "scan": "https://archive.org/details/journalofproceed23sanfrich/page/n2010"
  },
  {
   "id": "qipu:sf/decision/journalofproceed25sanfrich:361/1",
   "date": "1930-02-17",
   "record": "https://data.qipu.org/usa/san-francisco/record/?id=qipu%3Asf%2Fdecision%2Fjournalofproceed25sanfrich%3A361%2F1",
   "scan": "https://archive.org/details/journalofproceed25sanfrich/page/n360"
  },
  {
   "id": "qipu:sf/decision/journalofproceed43sanfrich:14/5",
   "date": "1948-01-05",
   "record": "https://data.qipu.org/usa/san-francisco/record/?id=qipu%3Asf%2Fdecision%2Fjournalofproceed43sanfrich%3A14%2F5",
   "scan": "https://archive.org/details/journalofproceed43sanfrich/page/n13"
  },
  {
   "id": "qipu:sf/decision/journalofproceed66sanfrich:642/1",
   "date": "1971-08-09",
   "record": "https://data.qipu.org/usa/san-francisco/record/?id=qipu%3Asf%2Fdecision%2Fjournalofproceed66sanfrich%3A642%2F1",
   "scan": "https://archive.org/details/journalofproceed66sanfrich/page/n642"
  },
  {
   "id": "qipu:sf/decision/meetingminutesb2002sanf_0:271/2",
   "date": "2002-07-22",
   "record": "https://data.qipu.org/usa/san-francisco/record/?id=qipu%3Asf%2Fdecision%2Fmeetingminutesb2002sanf_0%3A271%2F2",
   "scan": "https://archive.org/details/meetingminutesb2002sanf_0/page/n270"
  }
 ],
 "all_decisions": "https://data.qipu.org/usa/san-francisco/topics/water-and-sewers/decisions/",
 "sql_rules": "https://data.qipu.org/usa/san-francisco/sql/?q=SELECT%20year%2C%20date%2C%20plain_best%2C%20outcome_best%2C%20source_url%20FROM%20decisions%20WHERE%20city%20%3D%20%27sf%27%20AND%20%28%28topic%20IN%20%28%27water-sewers%27%29%20OR%20topic%20%7C%7C%20%27%2F%27%20%7C%7C%20coalesce%28subtopic%2C%20%27%27%29%20IN%20%28%27city-services%2Fwater-supply%27%2C%20%27the-street%2Fsewers%27%29%20OR%20%28%28topic%20IN%20%28%27utilities%27%29%20OR%20topic%20%7C%7C%20%27%2F%27%20%7C%7C%20coalesce%28subtopic%2C%20%27%27%29%20IN%20%28%27utilities%27%29%29%20AND%20regexp_matches%28coalesce%28plain%2C%20%27%27%29%2C%20%27%28%3Fi%29water%20%28supply%7Csystem%7Cdepartment%7Crates%3F%7Cmains%3F%7Cquality%7Cpollution%7Ctreatment%7Cservice%29%7Csewers%3F%7Csewage%7Cwaste%20%3Fwater%7Chetch%20hetchy%7Creservoirs%3F%7Cstorm%20%3Fwater%7Ctreatment%20plants%3F%7Cpumping%20stations%3F%7Coutfalls%3F%7Cdrainage%27%29%29%29%20AND%20NOT%20regexp_matches%28coalesce%28plain%2C%20%27%27%29%2C%20%27%28%3Fi%29pg%26e%7C%5Cbpower%5Cb%7Celectric%5Cw%2A%27%29%29%20ORDER%20BY%20year%2C%20date"
}