Downloading, cloning, forking or using these files in any way indicates that you've read and accept the terms of use in the enclosed notice.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore update gitignore Nov 14, 2013
Administrative.rtf updates to codes through 03/13/2014 Apr 17, 2014
Administrative.txt
Business.rtf updates to codes through 03/06/2014 Mar 8, 2014
Business.txt updates to codes through 03/06/2014 Mar 8, 2014
Campaign.rtf updates to codes through 03/06/2014 Mar 8, 2014
Campaign.txt updates to codes through 03/06/2014 Mar 8, 2014
Charter_sf.rtf updates to codes through 03/06/2014 Mar 8, 2014
Charter_sf.txt updates to codes through 03/06/2014 Mar 8, 2014
Elections.rtf updates to codes through 03/06/2014 Mar 8, 2014
Elections.txt updates to codes through 03/06/2014 Mar 8, 2014
Environment.rtf
Environment.txt updates to codes through 03/06/2014 Mar 8, 2014
Fire.rtf updates to codes through 03/06/2014 Mar 8, 2014
Fire.txt updates to codes through 03/06/2014 Mar 8, 2014
Health.rtf updates to codes through 04/10/2014 Apr 17, 2014
Health.txt updates to codes through 04/10/2014 Apr 17, 2014
LICENSE Initial commit Sep 16, 2013
Notice.md Update Notice.md Oct 1, 2013
OrdTable.rtf updates to codes through 03/06/2014 Mar 8, 2014
OrdTable.txt updates to codes through 02/13/2014 Mar 8, 2014
Park.rtf updates to codes through 03/06/2014 Mar 8, 2014
Park.txt updates to codes through 03/06/2014 Mar 8, 2014
Planning.txt updates to codes through 04/10/2014 Apr 17, 2014
Police.rtf updates to codes through 04/10/2014 Apr 17, 2014
Police.rtf.log updates to codes through 02/13/2014 Mar 8, 2014
Police.txt updates to codes through 04/10/2014 Apr 17, 2014
Port.rtf updates to codes through 03/06/2014 Mar 8, 2014
Port.txt updates to codes through 03/06/2014 Mar 8, 2014
PublicWorks.rtf updates to codes through 03/06/2014 Mar 8, 2014
PublicWorks.txt updates to codes through 03/06/2014 Mar 8, 2014
README.md Add reference to API and structured data. Sep 30, 2013
SFBuilding.rtf updates to codes through 03/06/2014 Mar 8, 2014
SFBuilding.txt updates to codes through 03/06/2014 Mar 8, 2014
Subdivision.rtf updates to codes through 03/06/2014 Mar 8, 2014
Subdivision.txt
Transportation.rtf updates to codes through 03/13/2014 Apr 17, 2014
Transportation.txt updates to codes through 03/13/2014 Apr 17, 2014
ZoningMaps.rtf updates to codes through 02/27/2014 Mar 8, 2014
ZoningMaps.txt updates to codes through 02/27/2014 Mar 8, 2014

README.md

Open Law

Open Law represents a commitment by the City and County of San Francisco to releasing one of our most important pieces of information -- the law -- to the public in formats that make it more accessible. Following on our landmark Open Data Policy, the laws of San Francisco are released in technologist-friendly formats that can power new applications that enhance understanding, improve access and lead to new insights around the laws.

These applications have yet to emerge, but we believe giving unprecedented access to the law will unleash creativity from the community. Imagine, for example, if you could:

  • Discover all the laws impacting small businesses in an easy, modern, browsable format
  • Find amusing or outdated laws from a bygone era
  • Explore the legal actions and ordinances that led to Municipal Code changes more easily
  • Share and discuss laws and get answers from certified legal resources in the community

Open Law is the first, necessary step to making these kinds of applications. We hope you join us and use the resources curated here to engage in the growing Open Law community.

You can learn more about the initiative here.

Structured Data (JSON) and API

If you would like to develop on top of structured data, you can access both bulk downloads and an API endpoint at SanFranciscoCode.org provided by the Open Gov Foundation.

Disclaimer

The files contained herein are raw data representations of certain Municipal Codes of the City and County of San Francisco for reuse in applications by anyone who chooses to do so. This is not the official copy of the City and County of San Francisco’s Code and should not be relied upon for legal or any other official purposes. Please refer to the Official Codes hosted by American Legal Publishing.

The City and County of San Francisco offers these files with no warranty as to accuracy or completeness.

Attribution Requirements

If you are using these files to produce an application on any platform (mobile, web, or desktop), you must indicate on every page of the application in either a footer or sidebar or other prominent place that users should reference the American Legal hosted official municipal codes. These will contain the most up to date legal reference for the City and County of San Francisco. Please use the following text in your attribution:

This is not an official copy of the Municipal Codes of San Francisco and should not be relied upon for legal or other official purposes. Please refer to the Official Codes hosted by American Legal Publishing for the verified and official codes.

If you republish these files on your own servers, you must maintain this notice in its original form for the benefit of others.

If you reuse these codes in an Application Programming Interface (API), you must indicate the same notice above in your API documentation in a prominent place.

Modification of the Codes

You may not modify these codes and then represent them as the original or official codes of the City and County of San Francisco. The code can only be officially changed through the legislative process and willfully misrepresenting modified code as the official code of the City and County of San Francisco is strictly prohibited.