19 January 2012

My Canadian Open Government Consultation Submission


Some of the questions posed in the Canadian Open Government Consultation Submission required written responses.  Here are my responses:

question 1: "What could be done to make it easier for you to find and use government data provided online?"
To make data easy to find I would like to see all of the available data along with descriptive text, preferably one dataset per page, published on government web sites that can be indexed by Google.

To make the data easy to use, I would like to see the data published in open non-proprietary formats. The data should be addressable by URL, without any requirement to sign in or identify or be required to click on anything extra in order to download the data as these sorts of mechanisms are obstacles to performing repetitive automated tasks.

The data should be either released as public domain, or if that's not possible then it should be licensed under a legal framework that conforms with the open data definition posted on opendefinition.org. The Open Data Usability Index (ODUI) document at OpenDataBC also provides helpful information about how to make data more usable. http://www.opendatabc.ca/odui.html

question 3: "How would you use or manipulate this data?"
I would use the data to create analysis and visualizations that would help Canadians better understand their country. I would create value added applications that would help people to create businesses and jobs using open data. I would also try to help people use the data, by providing online tutorials and holding events that would encourage people to get involved. I would like to help create the incentives for citizens of Canada get more engaged and participate more with their governments (local, provincial, federal).

question 4: "What could be done to make it easier for you to find government information online?"
Government information should be made available to search engines like Google by providing topic specific pages, in text that search engines can understand so that people can use the tools they are used to to get information. There is no need to create an elaborate portal and specialized search engine for this sort of effort, at least in the foreseeable future.

Specifically about Open Information, again, it should all be either released to the public domain or if that's not possible licensed using a license that conforms to opendefinition.org. It should not be given a different license than open data if you want people to be able to use it.

question 7: "Do you have suggestions on how the Government of Canada could improve how it consults with Canadians?"
I don't have a lot of ideas here other than make use of the available social media tools such as Twitter and Google+ to reach out to Canadians. I don't always agree with Tony Clement, but I do like the way he engages citizens. I would like to see more MPs do the same. Also, adopt social media guidelines like the Province of BC has, which fosters trust with its employees and allows them to engage directly with citizens.


question 8: "Are there approaches used by other governments that you believe the Government of Canada could/should model?"
As far as open data goes, the legal framework is a big deal and why I keep advising governments to work hard to get this part of open data right. Follow the example of the US or Australia or New Zealand or Surrey or Langley or Township of Langley or Winnipeg Transit.

In Australia agencies are supposed to go through a process in order to keep data closed. (There is currently no binding law to enforce this but the intent is there). This would be relatively easy to put in place in many jurisdictions as data is already routinely assessed for privacy concerns and treated accordingly. Determining if it should be closed would be just another check box, and since the vast majority of public data should eventually be open data, it makes sense to identify and document the much smaller set of data destined to be closed.

I think there is an unintended side effect of the way open data is being rolled out in some jurisdictions. Public data that was once generally considered usable ( financials, stats, directories, registries, codes, inspection data, schedules ) are now considered not usable because they don't have explicit permissions associated with them. When they do get an official license applied to them, their new explicit "open" status can be significantly more restrictive than the implicit understanding prior to the movement.

Also, governments often set up a new agency that identifies data citizens can use and place it in a catalogue, and anything that's not in the catalogue then has a mysterious cloud over it by contrast, even if it was formerly considered public. Depending on how fast this new group can get through the relevant data to catalogue it, citizens could feel they have significantly less data than they had before the official process.

Everything already on the internet should just be open licensed.

question 9: "Are there any other comments or suggestions you would like to make pertaining to the Government of Canada's Open Government initiative?"
Thank you for taking the time and putting effort in to address this opportunity and to consult with citizens. I think we, as a country, have a lot to offer the world in terms of leadership in this space.

01 January 2012

2011 in Review

I find that the end of the year is a great time to reflect on the past 12 months and refresh the vision for the upcoming 12 months. It works well for me not only because of the changing year, but also because the holidays bring a brief window of downtime, which I like to use to, as Stephen Covey says, “sharpen the saw”.

Anyone who knows me knows that I am a avid supporter of open government and open data. My personal belief is that open government is what’s next for modern democracies. Public servants and citizens are starting to see for themselves the strategic advantage that openness represents, something that the open source movement has known for decades. As more politicians and high level public servants start to realize the positive effects that openness can have on their work and their personal careers we will see more adoption. Soon we will look back to this period and it will seem archaic for governments to keep critical decision making information from the people they serve.

My personal vision for 2011 was that by the end of the year people in BC would be more aware of open data. When we started 2011 most people I talked to had no idea what open data or hackathons were. Now, 12 months later, we have had 11 hackathons in 5 cities in BC, 350 hackathon attendees, several news paper and other media stories, we have a ministry with Open Government in its name, a provincial government that publishes open data and we've had 5,000 unique visitors to my OpenDataBC.ca site viewing 35,000 pages of content.

One of my heros, Seth Godin, popularized the term shipping which describes the act of completing a project, getting something out the door or delivering something. It doesn’t matter if it was a hit or not, or whether it was perfect or not. All that matters is that it is done.

Here’s a partial list of things I shipped in 2011:
  • Designed a system to enable secure storage and sharing of health information
  • Continued to build the OpenDataBC google group which now has 116 members
  • Created the Open Data Usability Index with other open data experts
  • Held the 2nd annual Victoria International Open Data Hackathon
  • Facilitated 11 open data hackathons around the province of BC
  • Added 170 datasets to the OpenDataBC catalogue
  • Presented open data at several conferences
  • Advised several governments in Canada on open data strategy
  • Developed Municipedia, an app to improve Voter turnout in the 2011 Municipal elections
  • Contributed to several other open data projects
  • Proposed a change to the Open Definition
  • Launched an HTML5, Python based data visualization platform
  • Attended several conferences including Google I/O, EuroPython and OSCON
  • Developed a tiny open source split testing framework for Python
  • Purchased several Internet ready music albums
  • Gave $500 to causes I believe in (EFF, FSF, Demand Progress)
  • Moved 55 domains from GoDaddy to DreamHost
  • Wrote 30,000 lines of code
  • posted 1,900 tweets
  • Wrote 9 blog posts
I was very honoured to be able to work on these projects with so many great people in 2011.  I worked on many other projects as well, some of which are not complete so they’ll be my 2012 list. :)

Now, I will get to work on my vision for 2012.  I will post here in the near future.

Happy New Year!


20 September 2011

The Value of the Seal

The implementation of government open data initiatives presents a number of interesting challenges to governments on the leading edge of Gov 2.0 policy making. Established business practices invented in another age sometimes seem impervious to ideas like open data. One such practice is charging money for public data under the banner "cost recovery".

When looking at the bureaucracies and systems required to manage the authorized distribution of and the collection of payments for data (i.e. products whose marginal cost of distribution is effectively zero) it's easy to wonder if the operating costs are mainly due to the billing apparatus itself.

But let's take the case where there is in fact a cost to distributing this data. Perhaps there is a collection cost or some sort of initial investment cost. In some cases, governments have chosen to offset that tangible short term cost with a fee for access, to either the data itself or some byproduct of that data.

People or organizations are willing to pay money for this service of data retrieval. From this, one could deduce at least two things: 1) provision of data is a valuable service; and 2) the government is the considered the best or perhaps the only place where they can get this data.

Let's look at the BC Corporate Registry for example. To search for a registered company in BC I have to first become a member of BC Online. To become a member of BC Online I have to first deposit $100 into a BC Online account, and then to perform a search they will deduct $8.68 from my account. People do use this service, so there is some value. People are willing to pay for this data.

Or, are they?

What if BC Corporate Registry data was released as open data. The deal is, I would have access to that data to do what I want with it, including creating an app, and making money, the only condition being that I could not claim it was official.

So, I get the data, I offer the data to lawyers and corporate deal makers and entrepreneurs and whoever else I think can use this data and I offer to sell it to them for 1/2 of what the government currently charges for exactly the same thing except that my data comes with a clause that says something like "this data is 'not official'". My guess is that no one would take me up on that offer. In fact, my guess is that I wouldn't be able to give that data away for free. Why? Because it's not official. It turns out being official is pretty important.

I think that this whole model of people paying for public data is a collapse of two concepts and what's missing is a distinction. People do not pay for public data. People pay for data with an "official seal". I would go one step further. Often the seal is all they are paying for.

This is not a new idea. Just as I can get a certified engineer to come over to my house and talk with me for an hour about the structural changes I want to make to my house, and she'll give me all sorts of ideas and draw me a sketch and perhaps help me with my design ideas, so long as it's all "unofficial". Some will even provide me with an non-certified printout of my plans. To build my house though, I need the official certified plan, and for that there is a fee. I am not paying the engineer for the plan - I am paying her for the plan stamped by a certified engineer.

I suspect this won't even be a surprise to the folks involved in crafting the open data licenses that we use. The clue is in the licenses themselves. For example, if you look at the Government of B.C.'s new Open Government License you will see in clause 5. b) "ensure that you do not use the Information in a way that suggests any official status or that the Information Provider endorses you or your use of the Information".

That clause is there because someone recognized that that's where the value is. It's the official status, or said another way, the authenticity that the government brings to the data that people need and are willing to pay for and often for legal reasons must obtain.

My personal preference would be to have all publicly funded data free and available for any lawful purpose by default. The question of whether or not people should have to pay for the official status of anything is a separate and worthy question. In any case, fees can stay in place for "official" data as there really isn't any threat to existing business models. Releasing the data itself can happen using existing policy and the existing licenses. And, my guess is that in time governments will discover what open source and many other folks already know, that by opening the data, the demand for paid services will actually increase.

And for some young entrepreneur, who wants to build the next iPhone app to accelerate the process of creating a new business in BC, that in turn could create jobs and attract talent to our province, that's good news. Because his app doesn't actually require that the data have the official seal.

He just needs data he can use.

08 August 2011

Internet Ready Music

I love music. I love listening to it, and I love creating it.



I used to buy Vinyl records, then switched to CDs and now I buy mostly online. I have created mp3 files of most of my CDs so I can listen to them in one big huge playlist without ever putting in a CD.

A couple of months ago, Google invited me to use their new Google Music Beta. It's awesome. With it I can easily place all of my music on their servers and then access that music from any of my computers or Android devices.

But I haven't done that. Why? Because the record companies have been attacking people use the internet to enjoy music. And, while I don't think it breaks any laws to use Google Music Beta, I am not 100% sure. Even if it's 100% legal today, with the music industry lobbying governments and influencing law makers and suing students, and now getting the laws changed so that ISPs are required to spy on us, it's not inconceivable that they could convince law makers to make my uploading of music to Google Plus illegal, retroactively. And since once I upload music, there is really no way to make sure it's removed from wherever I upload it, uploading is an action that I can't really undo.

It seems more and more that the vast majority of digital music that I have purchased thus far is becoming legally incompatible with internet technologies and it's actually becoming increasingly risky to own it at all. My iTunes purchases have declined as I have become more aware of the associated risks of owning music that's incompatible with the internet.

Just like driving a horse and buggy on a modern freeway today would be considered dangerous, using music locked into outdated copyright schemes that prohibit uploading on something designed for uploading and downloading is dangerous.

Some of the music I own, however, is compatible with the internet. Bands such as The Charlatans, Radiohead, Nine Inch Nails, and others have been making their music available for free on the internet for some time.

I have also recently (re-)discovered Jamendo which is a music site that contains 300,000+ songs from all over the world and in all genres, all of which are available for downloading and can be uploaded and shared freely with others using the Creative Commons license.

With Jamendo I have discovered some new music that I am totally hooked on, such as the fantastic Canadian artist Brad Sucks, who you can currently find me listening to most days.

Since the internet is all about sharing, I am starting to call this new music, "internet ready". I can upload it to Google Music Beta without worrying about any scary legal incompatibilities down the road, and I can share it with Friends.

Incidentally, I still pay for much of this "free" music. Usually $20 an album. I like that the whole $20 goes to the artists because I want them to be able to continue to create great music. But mostly, it's worth more to me than the risky legacy "recording industry" music because it's internet compatible and as such I am free do so much more with it.


20 July 2011

About the License

Yesterday while we were all celebrating the awesome work of the BC Provincial government, a very well respected Harvard researcher, software developer and open data advocate was arrested by the US Federal government on charges related to computer hacking, based on allegations that he downloaded too many scholarly journals that he was entitled to get for free.  He now faces a possible 30 years in jail.

I don't know Aaron, but I feel as though I do.  He writes brilliant software code and releases it to the world as completely free public domain software.  He advocates for open data and transparency and democracy in the US and he is a founder of demandprogress.org an organization dedicated to progressive policy changes for ordinary people.

Please consider visiting demandprogress.org and reading about what's happening to Aaron.

How does this relate to open data and the new DataBC portal?

It's about the license.

License : official or legal permission to do or own a specified thing.

It's strange that we need permission to use our own data and information.  It's strange that we sometimes have to pay to use data that we have already paid to have created.

Being an open data advocate and application developer comes with a certain level of risk and anxiety.  We are actively trying to do things that have not been done before.  And unlike other areas where innovation takes place, we are innovating in an area involving strange legalities, usually as individuals with no corporate backing or protection, and the consequences of making a mistake can be severe.  There is a lot of uncertainty.  Although many of us are open source developers and thus are pretty familiar with copyright law, licensing and the jargon that goes along with them, very few of us are lawyers.

This is why we want governments to use standard licenses.

By choosing to invent a new license rather than use an existing one the BC Government has added to the uncertainty.  Yes, they based it on the UK license, but it's clearly not the same as the UK license, otherwise they could have just used that.

Because they chose to invent a license I spent several hours last night pouring over the license and comparing it to both the PDDL and the UK license to see where those differences are and to see what additional risk I might have to take on as a result.  Every developer I know will have to do the same thing now before they start using the data.

Many won't bother.

And that's the lost opportunity. People who get turned off by the custom license won't use the data, or won't bother coming to the hackathons, or won't bother creating that new app. It's just too risky. Sadly, we all lose. because as I understand it, the BC Provincial government is in this for the right reasons.  It's clear to me that they absolutely get it.  Innovative new ideas and applications will be generated as a result of this.  This increased transparency and engagement and collaboration with the citizens will build trust and goodwill and is good for the government and good for the people of BC.

From what I can tell, not being a lawyer, as a standalone license, the BC Open Government License is actually mostly good (check out unrest.ca for some of the details on issues with the license).  And, there are a handful of us, that will push through this licensing thing, grumble a bit, say "it's pretty good" because it is, and weigh our risks and move forward with our apps and visualizations and innovations.

BC is seen as a leader in citizen engagement and open data by local governments, other provinces and internationally.  Looking at what's going on in the rest of the world, particularly in the US, we are really very fortunate to live where we do and to have the public service and leaders that we have.

I will encourage others to take the time to read the BC license rather than blowing it off because it's not standard.  And I will continue to urge local governments and other provinces to use a standard license rather than invent their own.

This is a first great first attempt, and as Christy Clark said in her excellent and encouraging video, this is very much a work in progress.  The license does have a version number, which to me implies that they are open to input, discussion and changing it if necessary, which is awesome.

19 July 2011

Remembering "Open"

Today the British Columbia Provincial Government launched a new Open Data Portal, making thousands of our publicly owned datasets available to us including everything from employee salaries to historical school locations to Local Government Incorporation Dates to the data catalogue itself. As a citizen and taxpayer in BC and an open data advocate I am very excited to see my own Provincial Government take these steps toward innovation and transparency. I congratulate those public servants within the BC Government that understood the opportunity, recognized value and championed the cause.

These days, governments all over the world are starting realize the value of "open" but it wasn't so long ago that we were at the opposite end of the spectrum. As a public servant in the 1980's, employed as a junior data analyst, I personally produced the monthly report for the minister and deputy minister showing the basic metrics of the ministry I was working for. As part of that job I was required to produce 5 copies of that report and place them in brown paper bags and tape them closed. I would then personally attempt delivery to the recipients office. If the recipient or their assistant weren't there to receive the report, I was required to take the report with me and try again later.

Those same metrics are still being used today and were released today as part of the Provincial Open Data portal. It's striking how far we have come in such a short amount of time.

Although we have gone through a very opaque phase with our governments, the idea of governments being open and transparent is not actually new. Our own BC Government has been publishing the public accounts and other financial information for decades. They also produce a monthly publication called the British Columbia Gazette and have done so since the 1920's that is teeming with useful information about our province, from disposition of Crown Lands, to election results, to tree farm licenses to road name changes.

Technology has evolved since these publications were originally developed. Where at one time publishing this type of data on paper was about as usable as one could have imagined, these days its available electronically, and hopefully soon it will be included as part of the open data portal.

So, although openness and transparency aren't new, they were definitely forgotten, and as I like to say, we are now remembering the value of "open".

Congratulations and a big "Thank you!" to our public service employees and political leaders who are helping to make this happen.

Now, I need to go to the portal and look for some data. :)

30 June 2011

Government as Platform - An Example

Tim O'Reilly uses the words "government as platform" to describe an interpretation of what Government 2.0 is. I am often asked what "government as platform" means. I think the question arises because much of government already operates as a platform. People don't distinguish it as something new because it's routine.

To explain what government as platform is, you can look at an example where it's already the norm such as our public roads. Our three levels of government are involved in the construction, maintenance and regulation of roads. Together they deliver infrastructure upon which we ride our bicycles and drive our cars.

We are used to the idea that we can hop on our bicycle or get in our car and and transport our selves on public roads. As a platform we are left to decide where we are going, when and how to get there. The outcomes of the platform, the actual transportation conducted, is not determined beforehand. The roads are built to certain standards and the drivers are left to figure out how to get from point A to point B.

And because the system is open, people and companies can and do invent innovative new ways to use the platform. Because they are free to choose their route, people optimize the routes they use to get from point A to Point B.  Inventions like automobile GPS are created to help with navigation.  Every year the entire vehicle industry (bicycles, cars, buses) releases new versions of their transportation products and introduces innovative new ones. Several huge industries can rely on the fact that our roads systems is a platform that they can build on.

And for travelers, the system works so well we can travel almost anywhere and we're usually not even aware of which level of government is responsible for which roads. We can even travel to different countries and travel, because all of the public roads work pretty much the same way. Done well, the platform becomes transparent. We don't even notice it.

I am convinced that this what we need with our public data. Our data – all of it – made freely available on the internet, with standard licensing, in formats we can use - would provide a platform for innovation like we've seen with transportation. Entire industries could grow on such a platform, providing jobs and value we can barely imagine right now.

And though only a few people will use the data in the beginning, like the few people building cars and bicycles, those people will create huge value for their fellow citizens all built on a platform managed by our governments.

17 March 2011

Selling Data - Privacy Is Not The Issue

When data can't be released it's usually for one of two reasons, privacy or cost. Leaving cost for a future post, let's focus on the privacy issue.

We don't want our personal medical records released to the public for free or for cost, for example. Most people I talk to can agree on that. In fact, in BC, we have laws that state that personal information collected for one purpose cannot be subsequently used for a different purpose. There are exceptions, but that's the general idea.

Sometimes governments sell data to the public. Sometimes that data contains people's contact information. Sometimes it's about organizations or places. But, before it can be sold, this data typically undergoes rigorous processes and checks to ensure that no personal data is compromised.

For example, for $32 anyone can request a business name search from BC Registry Services to find out if a company exists . For "as low as $5,250" anyone can purchase a business site license for postal code address data from Canada Post. And, anyone can download a wide variety of key socioeconomic data from Statistics Canada - for a price.

How does this relate to open data? Well, sometimes, privacy is held up as a reason for why some data that is currently sold by governments, cannot be freely released as open data. As if, somehow, paying money for that data alleviates any privacy concerns. It doesn't, because there aren't any. If there were, not only could it not be made available as open data, it also could not be sold.

While there may be very good reasons why data that is currently for sale by governments cannot be made available for free, privacy isn't one of them.

10 February 2011

Requirements of Open Data


As more and more governments start to realize the benefits of opening up their data, sometimes I hear chatter about enterprise solutions and though I understand the logic of hitching the wagon the the latest thing, I think there is a lot to gain by taking a strategic and pragmatic view of things. Open Data does not have to be an expensive exercise. In fact it can be very inexpensive from the data publisher's point of view.

There are three main requirements that have to be satisfied before data is considered "open data". They are:

1. Legal Framework - Anyone can use it for any legal purpose (PDDL or CC0 license)
2. Accessible - I can download it on the internet free of any mechanisms of control
3. Readable - it's published in a non-proprietary format

Of these three, the first requirement is most important and costs the least. And, in fact, without the first one there is really no point in doing the other two. If it's not legal for me to use the data then it doesn't matter what format it's in or whether I can get my hands on it... I won't use it.

The great thing is though that governments in some cases have already done the other two steps so the Legal Framework is all that's left to do. And, if they do that, then instantly and without any expensive technology, a raft of published data becomes "Open Data", ready to use.

For example, the City of Courtenay publishes a great RSS feed of "Surplus Equipment for Sale" but nowhere on their site does it say that I can use it. It's both accessible and readable so it's satisfying two of the three requirements but the first requirement isn't met so developers would likely shy away from using it. That's too bad because an app that went around and gathered up this type of information from all local governments and made it available as an mobile app would be pretty cool and would help the local governments sell their surplus equipment.

The BC Government on the other hand has this page which looks pretty much what it looked like over 10 years ago, and pages like this that basically say you can't use this data to make anything.

Here again, there are many examples of data that is both accessible and readable, but because of these pages, we can't use it. And that's unfortunate for both the government organizations that could benefit from the huge talent pool outside of government and for the citizens who pay for the data.

The good news is that governments already have a large amount of data online, and by getting the legal framework sorted out, citizens will instantly be able to use it to create innovative solutions and tools to help themselves and others.

04 January 2011

Book: Rework

I just finished reading Rework by the 37 Signals team (Jason Fried and David Heinemeier Hansson), a Christmas gift from my youngest son.  If you are not familiar with 37signals and their work I recommend checking them out.

The book provides an outline of the 37signals philosophy including tips and opinion.  It is aimed at small businesses, however, I think everyone from small business to large business to government organizations should read this book and think about how it might be applied to their work.

They don't say this explicitly but what the book is really about is rethinking some of the dogma of business-as-usual.  I have often thought that any organization that has an "innovation" branch is already in trouble.  If you read this book you'll find out why.  An innovative culture isn't something you can install, or force directly.  Innovative cultures happen by consistently rewarding innovation.  Sharing cultures happen by consistently rewarding sharing.  Organizations that consistently treat employees as untrustworthy, end up with a culture of fear and lack of trust.

For examples of how to do it right in a government context, I think the Province of BC is on the right track with their new B.C. Government Social Media Guidelines and their public statement of Open Data as Defining Principle No. 1 of their Citizens @ the Centre: B.C. Government 2.0 strategy. The very fact that these documents exist sends a signal to employees of a relatively large organization that they are trusted and empowered to engage citizens and empower citizens to create value from open government data.  This kind of positive reinforcement will go a long way to creating a culture of learning and trust as people come up to speed with the new tools of social media and open data.  Kudos to the folks that made this happen and the executives that supported them.  I look forward to seeing what they do next.

Creating an environment where innovation happens, where sharing is rewarded, where great work is recognized and where trust is leveraged is the hallmark of an organization that gets it.  37signals definitely gets it.  Rework is an easy and worthwhile read.  If you're interested in innovation in the workplace, I recommend you read it.

01 January 2011

Shipped in 2010

One of my favorite authours of all time is Seth Godin.  I purchase and read every book he writes and often give them as gifts.  One of the things Seth talks about is "shipping".  We use this term to describe the act of completing a project, getting it out the door.  It doesn't matter if it was a hit or not, it just matters that it's done.

In a recent blog post Seth encourages people to publish their list of things they shipped last year, because it's not something we often do.  I encourage everyone to 1) make your own list; and 2) read Seth's blog.

Here is a list of things that I shipped last year:
  • Launched OpenDataBC.ca
  • Identified 149 BC datasets from all levels of government
  • Created OpenDataBC Google Group which now has 70+ members
  • Established Open Government conference for BC
  • Held two hackathons for provinicial Apps for Climate Action Contest
  • Created Waterly.ca which won two awards including Best in BC (Yay!)
  • Participated in Google IO and OSCON conferences
  • Spoke on Open Data at the Ideawave conference
  • Sat on an Open Data panel at the Global Knowledge eGov conference
  • Accepted a CTO position with an exciting new Canadian startup
  • Held the first annual Victoria International Open Data Hackathon
  • Developed DataZoomer version 4
  • 25 blog posts
  • 500+ tweets
This isn't the entire list of things I worked on.  I worked on many other things that either failed or that I didn't ship (yet).  I also didn't do this alone.  I was fortunate to be able to work with a bunch of dedicated and talented people this year.

2010 was a great year of learning and I look forward to an exciting 2011.

07 December 2010

Terms of Use

I am not a lawyer, and I do not give legal advice. I am a developer who uses open data on a regular basis and as such I spend a lot of time, but probably not nearly as much as I should, trying to understand open data licenses and terms of use that governments post on their open data portals.

The whole point of open data is to liberate data so it can be used. An organization's open data strategy then should be working toward that end result, encouraging and making it as easy as possible for people to use the data.

One of the first things that developers think about when contemplating writing an application using government data is, "am I going to get in trouble". This question, however absurd it may seem is very real to developers. If developers think they are going to get into some sort of trouble using a data source they will usually not create the app, which means governments and the citizens they serve lose an opportunity.

If governments are going to release data the most important thing is to release data in a way that is easy to understand from a legal perspective, preferably in a way that developers are already familiar with. There are already many licenses in use so inventing new licenses rather than releasing data under commonly understood mechanisms is a waste of effort on everyone's part.  As Chris Rasmussen spoke about at the recent OpenGovWest BC Conference, "We all think that our data is unique.  It's not true."

Unfortunately, many custom licenses currently in use today are often full of things that don't need to be there like, "you cannot break the law with this data" or "you can't say you're us".  I already know I can't break the law.  A disclaimer makes sense - but it doesn't need to be part of a license.  Being clear about preferences around attribution make sense, but these can go in a policy statement offered for clarity rather than in a license.

In my opinion, the best license is no license at all. It's just public domain. Many government organizations consider their open data as public domain but don't go that extra step and actually state it on their web site. That's unfortunate because it's by far the simplest and easiest and least expensive way to release data and by not stating it explicitly on the web site, developers are still left wondering if they'll get sued.

  Herb's Ideal Open Data Declaration
   * This data is in the public domain.
   * It comes with no guarantees.

Please consult with lawyers that "get" open data.  See if you can go public domain explicitly rather than implicitly and or consider using the Creative Commons Zero tool, before liberating the data and see if you can work together to make data we can all use.

13 November 2010

The Power of Open

The OpenGovWest BC conference is now complete. The day was filled with amazing speakers, amazing speaking formats and amazing topics.

One of the highlights of the conference was the talk given by Nick Charney (@nickcharney) and Walter Schwabe (@fusedlogic) where they talked to the audience about participation, and as part of their talk unveiled a blog where folks in the conference were encouraged to participate in real time, right there, while they were talking. Now, days later, blog posts are still being generated on http://www.opengovnorth.ca by individuals and the enthusiasm is still present.

Nick and Walter took a risk. They put the idea out there, provided a place for it to happen and then made a simple request for participation. Though they are both accomplished bloggers they didn't tell people what to write, or how to write it, and they didn't try to control the conversation. They shared their ideas generously and provided a space for expression.

When skilled speakers like Nick and Walter encourage audience members share their ideas with each other in real time, while the talk is going on, they are engaging the participants in a vastly larger conversation. And when the talk they are giving happens to be about encouraging this type of engagement then they are really leading by example, in an almost recursive way.

They also weren't trying to promote themselves, or their organisations, or trying to take credit for anyone else's work or building their brand.

No, they were just there as Nick and Walter, a couple of guys encouraging us to take a chance and move a little closer to the edge. Giving us a gift, expecting nothing in return. Within minutes the site was crashing because the server had exceeded its capacity.

In a closed model, people focus on controlling the message and dictating top down what is supposed to happen. This model is built on fear and lacks trust and although many results can be and are generated this way, communities are not. Contrast this with what Nick and Walter created.

I agree with others who have remarked that this particular conference has taken us from a great idea to a movement. I think there are several reasons for this and I want to acknowledge the lead organizer, Donna Horn (@inspiricity), who just like Walter and Nick, used an open approach with her expertise in community building and leadership to support, encourage and then trust the conveners and speakers to create their own parts of the conference. And the result was a level of enthusiasm from the conveners and the speakers that spilled over to everyone else in the conference.

That’s how a community is created and that's the power of open.

04 October 2010

Open Data vs Open Source

Open source and open data are two different things.  They are not related any more than they are both part of a current larger overall trend toward openness, and they both happen to involve a computer.

The temptation however is to treat them the same, and to pursue them both at the same time. In fact, I recently realized that I personally have been collapsing the two concepts. I was resisting proprietary software use in open data because the companies that produce the software have been so opposed to open source software.

However, to argue that governments should both "liberate public data" and "use open source software" is to confuse the matter. I personally would like to see both happen but I choose to focus on open data because I think it will provide immediate value for government.

Insisting that government use open source tools to produce that open data makes the issue unnecessarily complicated.  Governments are used to using whatever tools they are using and it's usually easiest for them to release data using their existing tools.

One of the greats thing about open data from the technical point of view is that it's really not very complicated. Governments have a myriad of technically complex data issues to deal with, but open data is not one of them. Pretty much any system that contains data can dump that data to an open format such as XML or CSV. The tools used to develop these systems come with this sort of support built in and the hosting is not complicated.

Open data is complicated in other ways, yes.  Open data is a policy issue. It's also a communication issue. It's also an attitude issue. But it's not a technical issue.  No special software is required, no special technology is required, no special hosting is required and no special security is required.  Because in the case of open data we actually WANT people to get the data.

14 September 2010

Just the Facts Please

I am an advocate for releasing data in as raw state as possible. Spending time on visualizations any kind of presentation, including maps, is one of the biggest wastes of time and money in the open data realm. Here's why: When you release visualizations people can only look at your visualization. When you release raw data people can do an infinite number of things including create visualizations, combine with other data, create applications, etc..

Rather than working on "presentation" or "value added" services when preparing to release public facts as open data, I encourage public servants to just get the facts out there. If a specific graph or visualization is requested regularly and the budget is available to pay for it, then fine, I support that. But to spend resources on specific visualizations or maps that no one has asked for, and then to release it in the name of "open data", is a waste when it's much simpler to just make the raw data available to the community so they can create their own visualizations.

Our public bodies have vast stores of our data but scarce money and time to release it. Instead of trying to add value in the form of graphs, visualizations, detailed analysis or maps I would much rather see them release more data in machine readable open file formats that everyone can use. Releasing data is the one part that the citizens must rely on the public servants to do. The rest, citizens can do themselves, given the opportunity.

15 August 2010

Is your data copyable?

Of all the concepts that data users have to concern themselves with, copying and the legal ramifications of copying has to be one of the most important. All technology is a product of copying but in the last 100 years media companies have invented and promoted the idea that copying is theft. It's one thing to have some difficulty and possibly incur some costs accessing and using data, it's an entirely different thing to have to worry about being prosecuted or sued for using data. Developers are rightly cautious about the liabilities associated with copying data.

The environment of caution around copying affects people releasing, promoting and using open data. If it's not perfectly clear to developers that they can use your data they often won't for this reason alone. Developers have enough to think about. If they have to wade through your license or terms of agreement to try to understand what all the ramifications are, they usually won't bother. If they decide to read it then even one clause that looks risky is enough to drive them away.

There are lots of interesting project ideas and few developers that can make them happen. If you want people to use your data, it makes sense to make that process as easy and risk free as possible. Fortunately, there are several ways to do that, but first, what exactly is the copyright protecting? When we talk about data in this context we are talking mostly about facts and collections of facts.

The interesting thing about facts when it comes to copyrights is that it's generally accepted that facts themeselves do not enjoy any copyright protection. The reason being that copyrights only generally apply to creative works, and facts, by their very defintion, are not creative. If I present a number to you as the truth then I am saying that I didn't make up the number, I at best discovered it, but it already existed. If I present a number to you and say I made it up - in other words I invented it from nothing, then it's not a fact, it's made up.

It's for this reason that the idea of licensing data then strikes me as odd. To grant someone a license to use something which they can already do is redundant. Attempting to restrict use by means of a license is then equally strange. If someone already has the right to use something then to restrict it would require their agreement, and why would anyone agree to fewer rights than they already have.

I think the USA is on the right track here. My preference is that all non-personal government data be released as public domain. Public domain is easy to understand and it fully opens the door to innovation giving developers the raw materials they can really use to create valuable apps.

11 August 2010

Is your data accessible?

Public servants with responsibility for publishing government data have decisions to make when it comes to making that data available to citizens on the internet. Along with readability and usability which I have covered in previous posts, a third aspect of open data is accessibility.

The purpose of releasing data as open data is to enable people to use your data. To use that data they have to get it from your computer to their computer. There are a variety of ways to do that, but in 2010 that means the Internet and and the HTTP protocol. If your datasets are very large, using anonymous FTP would likely also be acceptable to many developers. However HTTP is by far the simpler protocol to use. It has many advantages from a developer perspective over FTP and it is just as easy to set up from a publisher's perspective.

Accessibility is just as important as readability. Where poor readability imposes a one time cost to developers, poor accessibility actually imposes an ongoing transactional cost. As a developer, I can write scripts to decode data provided in proprietary formats like XLS or SHP (so long as that's still legal in Canada - locks today, proprietary formats tomorrow?). It's still costly in terms of my time, but once written, I can run that same script over and over again with no effort. Poor accessibilty on the other hand sometimes means that I can't readily automate the process. If I can't automate it, then every time I want to use your data, I incur cost in my time to manually download it. That may be fine for those users who only want to download your data once. But to the developers that you want to encourage to use your data as a platform to build valuable applications with, it's a barrier they won't likely cross due to the high transactional cost.

In some cases folks use login screens or mail back mechanisms to track who is accessing our government data. In some cases there are check boxes for so called "agreements" or "contracts" that are meant to force people into some sort of agreement before they use our data. The worst of course are cost recovery models where we are forced to pay for our data twice. First as taxpayers and again as users.

Open data is emerging from an era where the status quo belief was that government data had to be locked down. Whether or not that was ever true is debatable, but it's clearly not true in 2010.

When publishers realize that with open data, the data is likely going to be re-purposed and distributed in different forms anyway, and in ways that these methods won't track, then what are you really measuring that you couldn't measure with just a simple, unobtrusive web site and access log.

When we as publishers talk about accessibility, as with many aspects of open data, it's useful to remind ourselves of the reason we are doing open data in the first place. Making data accessible means making it as easy as possible for developers to gain access to and download the data. Not so you can pass some test of "openness" (although there are good reasons to do that which I will cover in a future post), but so people use your data. You want people to use your data. That's the point.

22 July 2010

Thoughts from OSCON 2010

I am currently attending OSCON 2010 (Open Source Conference) in Portland Oregon.   It's a conference for free and open source software enthusiasts, developers, hackers and users of all levels.  There are about 5,000 people attending  this year.  I have met a lot of people here.  Some who are passionate about free software, and some that are learning more about it and how it can provide value to their companies.

It's difficult to over-estimate the impact that free and open source software (FOSS) has had on computing and the world in general.  First, of course, it powers the internet itself.  If you use the internet, you use free and open source software.  From the underlying protocols to email to ftp to web sites, it's all powered by free and open source software.

Practically every major web site you can think of (Google, Facebook, Wikipedia, Twitter, Foursquare, Google Maps, ... ) make heavy use of free and open source software.  These companies measure traffic in many millions of users and billions of pages per month.

The Apache Web Server for example has been the most popular web server since April 1996 and powers almost 70 percent of all websites on the planet.  There are free and open source operating systems, programming languages, office productivity suites, collaboration suites, web browsers, file and print servers and much more.  There is a free and open source version of practically any software you can think of (and many that you haven't thought of).

And yet, here we are in 2010 and some are still not convinced that open source is suitable for government use.  They are not convinced that this software developed by communities of generous and smart people is reliable and secure or supported enough for their purposes compared to proprietary solutions such as Internet Explorer.  They put all of their trust in single vendor solutions and rely on companies like Microsoft and Oracle, and believe the stories told by such companies about open source software... that story goes something like this:  "It's not enterprise ready... it's of varying quality... there is no support for it... you want to have one throat to choke."

Why aren’t governments using open source software anywhere and everywhere possible?  Why do governments continue to seek out solutions with lock-in to certain vendors?  Why would we continue to believe the big vendors that promise to be nice?  Why do we citizens continue to pay millions upon millions of dollars for software?

Governments are unlike other corporations in that they are making decisions not for their own benefit, but for the benefit of us, the citizens. They don't take that responsibility lightly so decisions are made with great care and they often don't give themselves permission to try new things - or if they do, they do THAT with great care and concern because they don't want to make any mistakes with our resources. Trying something innovative occurs as a risky and so the status quo is long lived and new approaches are discouraged.

Governments appear to be the last hold out of proprietary software and as a result, are missing out on an opportunity to engage with and support the communities that support all of us.  The rest of the world has figured out that free and open source software is the most secure, the most reliable, most innovative and the most cost effective software available.  Leading internet companies that earn millions of dollars in revenues and could choose anything they want for their software needs are choosing open source software.  We should let our governments know that we want them to choose free and open source software too.

The problem with free and open source software is this:  It's hard to make a lot of money with free software.  And, without a lot of money you can't own a public relations team and you can't spend a lot of money on armies of sales people and technical sales people with pre-written business cases and white papers and other collateral convincing people to use your products.  Without a lot of money, you can't schmooze and throw hosted year end parties for your key clients in every major city.

Instead, with free and open source software, you put everything into the product and let the product speak for itself.  You assume that people actually want things to work better.  You build communities of people who are passionate about your product - not because it makes them look good - not because it's easier – not even because it's free - but because it provides exceptional value.

07 July 2010

Is your data readable?

In talking with clients and colleagues about open data and open government this is the one question that comes up over and over again. The word “data” means a collection or body of facts that represent the qualitative or quantitative attributes of a variable or set of variables but what does “open data” mean?

To answer this question I like to look at what we are trying to achieve by opening data. The promise of open data is that if we make government administrative data available to the public value will be created in ways that we may or may not be able to imagine. The value will be created by using the data. So, what is open data? Ultimately, it’s data you can use. In this series of blog posts I will explore the various ways data can be made more usable.

What makes data usable?

In a previous post I proposed some dimensions that move toward a usability scale. In this post I propose a minimum standard of usability. In other words, what are the absolute minimum requirements that must be satisfied in order to consider something open data? To answer this question one could look at the dimensions of usability individually and decide for each one, what would be the minimum level of usability below which data is not usable.

One of the main measures of usability is readability.  In other words, how easy is it to read?

For example, this list of cities with their geographic areas and populations is data:


Data collected into rows and columns in this way is typically called a data set (or dataset). By putting this dataset in my blog post in a table I have made it available to you but the fact that I made it available to you as a screenshot of my spreadsheet means to read it would be difficult, error prone and would require expensive software or scripting. Which makes it pretty much unusable by you.

Another method in use by governments today is is to publish data as a PDF formatted document. This is marginally better than posting as an image. It’s technically possible to extract the data from PDF files as I have demonstrated in a previous post, but it’s still expensive, time consuming and error prone.

What I could do instead is make that same data available as an HTML table in this blog post, like this:




CityAreaPopulation
Victoria19.6878057
Vancouver114.67578041
Kelowna211.69120812


Technically, this is a level better than both images and PDF files but it will still get me low points on the usability scale because in order to read it a programmer still has to write a script specifically for reading this data from my blog post, a time consuming and wasteful process. If you’re unfortunate enough to need to read data from an HTML page, another previous blog post describes how to do this.

To really improve the usability of this software it makes sense to publish it in a format that represents data in a form that makes the data easily accessible. Many people are familiar with spreadsheets, which are a popular tool for reading and manipulation of tabular data so making data available in spreadsheet format makes it more usable in the sense that people can obtain spreadsheet programs to read the tabular data. For example, here is the same data published in the open .ODS format supported by a wide variety of spreadsheet software providers, and here it is published in the XLS format a proprietary format controlled by the Microsoft corporation.

The advantage to publishing in spreadsheet format is that while still requiring specialized scripts and software to read, at least the rows and columns are well defined which translates into fewer errors.  This is what I would consider the minimum bar for usable open data.  It's not as usable as I would like, but it is usable without too much risk.  In other words, if you have data in this format already and you don't have the budget to reformat it before publishing it, don't delay the release, just publish it as is.

Ideally though data is published in formats specifically designed for the purpose of information sharing, and that’s where the CSV, XML and JSON formats come in.

The CSV version of my dataset looks like this:
"City","Area","Population"
"Victoria",19.68,78057
"Vancouver",114.67,578041
"Kelowna",211.69,120812

The XML version looks like this:
<dataset>
 <data>
  <row><city>Victoria</city>19.69<population>78057</population></row>
  <row><city>Vancouver</city>114.67<population>578041</population></row>
  <row><city>Kelowna</city>211.69<population>120812</population></row>
 </data>
</dataset>

and the JSON version looks like this:
[
 {"city": "Victoria", "population": 78057, "area": 19.690000000000001},
 {"city": "Vancouver", "population": 578041, "area": 114.67},
 {"city": "Kelowna", "population": 120812, "area": 211.69}
]

While not quite pretty as the other human readable formats CSV, XML and JSON are open formats that provide structure making it very easy for programs to read the data. They are also well supported in almost all modern programming languages so that any programmer who wants to use your data can do so easily and accurately with free software and very little programming. And as a side benefit, its very easy and inexpensive to publish your administrative data into these formats using free software.

Publishing data in these open formats makes it easy for people to use open data. While publishing in HTML format is readable and is what I would consider the bare minimum for usability, depending on how it is done, other formats can make it much easier. And if your organization is serious about engaging people to collaborate and create value from the data they will want to make the data as usable as possible and making the data readable is one part of doing that.

23 June 2010

OpenDataBC: Toward A Data Usability Scale

I am currently involved in a project named OpenDataBC.  OpenDataBC is an open platform for government data sets and APIs released by governments in British Columbia.  It makes it easy to find datasets by and about government, across all levels (provincial, regional, and municipal) and across all branches. The catalogue is both entered by hand and imported from multiple sources and is curated by our team of volunteers.

Being a site called "OpenDataBC" you would think it would be pretty straightforward to put such a site together. Take the available catalogues from Nanaimo, Vancouver and the province and stick them together and voila, a catalogue is born. But, it's actually not that easy. The site is named OpenDataBC because we wanted to pay particular attention to "Data" that is "Open" that originates in or is about "BC", and for that we have to be a bit more careful about how we put it together.

The definition of "open" as it relates to data is still evolving at a rapid pace.  In it's ideal form what we mean by open data is:
Open data is data that you are allowed to use for free without restrictions.  Open data does not require additional permission, agreements or forms to be filled out and it is free of any copyright restrictions, patents or other mechanisms of control.
By this definition, there is very little open data available today.  Rather than soften the definition of open we think that it's useful to promote the use of data that's been released while acknowledging data that is more open (doing the right thing) while at the same time encouraging the data that is less open, to evolve.

Our goal is ultimately to facilitate the process of making more BC data available in a form that people can use. To that end OpenDataBC will highlight the most usable datasets that we can find.  For that we need some sort of usability ranking or scale, which right now does not exist, so we are inventing it. Here I present the following questions as questions to consider when assessing the usability of data being released. It's a starting point and we expect it to evolve.

1. Is it machine readable electronic data?
Although technically a scanned image of a map with gold stickers pasted on it is data, is not something that a programmer can use.  What we look for is machine readable data.  Documents or electronic files containing data that are published in formats that a software program can ready easily and consistently without errors is considered machine readable.  A databases, spreadsheets, CSV files are all examples of machine readable electronic data that are easily readable, thus they are considered more usable.  PDF files, word documents, scanned images - while technically readable by a software program - it's not easy and it is time consuming, thus this it's less usable.

2. Is it accessible?
I should be able to get it easily over the internet.  I should be able to get it on demand, with a simple program using open source software.  I should not have to submit a form to get it.  I should be able to enter a URL and in return I get the data.

3. Is it published in an open format?
From wikipedia: "An open file format is a published specification for storing digital data, usually maintained by a standards organization, which can therefore be used and implemented by anyone. For example, an open format can be implementable by both proprietary and free and open source software, using the typical licenses used by each. In contrast to open formats, proprietary formats are controlled and defined by private interests."

4. Is it free?
In this context, I mean am I free to use this data however I want?  Can I use it to produce a product that I sell?  Can I combine it with other data and publish it?  Can I sell a copy of it?  Data that puts any sort of restrictions on the ways in which the data can be used, or imposes any conditions or constraints on the user, is not free.  For example, if  I have to enter into an agreement to use it, it's not free.

5. Is it released under a common license?
Data that is released under a common license, such as the Creative Commons license or the Open Knowledge Definition are preferred over licenses created by the party releasing the data because licenses are hard to understand.  The more time people have to spend understanding the license in order to use the data, the less usable the data is.  Common licenses address this problem because once the license is learned for one dataset that license is understood and can be applied to other datasets released similarly.

6. Is it provided without a fee?
The data needs to be available at no cost to the user.  If it costs money, it's less usable and it's not open data.

7. Is it complete?
Data should not be missing values that ought to be there.  If it's point-in-time data it should include all of the relevant information for that point in time.  If it's time series data, it should include the entire time series from the first record to the most recent record.   If the data is about a geographical province, region or city, it should include the entire province, region or city and not leave out some geographical part of the data.

8. Is it timely?
The data should have the most up to date information as soon as it is available.  Ideally the data is available as an updated feed or at least updated on a regular schedule.  If the data is a feed, it should be available in as near real time as possible.

The plan is to add to this list and to refine the questions as we move along and gain experience with it. By applying a standardized set of questions to ask, users who come to the site will be able to easily determine what they might be up against if they want to use data in the catalogue. More usable data will thus be featured more prominently and less usable data will be identified as such so the issues that are contributing to it's less usable status can be addressed.

Please let me/us know if you think we're missing something or of something here needs adjusting.