Last year I knocked up a tweeps map ahead of the 2009 LG Web Network conference. The aim was to link via Twitter ahead of the event – and to muck about with Google’s maps and spreadsheets. Here’s one for this year.
I had intended to use Google Fusion Tables, a tool purpose-built to import and visualize table data online. (It made light work of this visualisation of RTA speed camera locations, ripped from an RTA PDF.) But from the get-go I couldn’t import my spreadsheet from Google Docs. Maybe the service is too beta.
Here then are the steps taken to create the #LGWN tweeps app:
=ARRAYFORMULA(Sheet1!A:E) then run a function in the neighbouring columns to return latitude and longitude (with some randomisation to prevent markers stacking directly on top of each other if two tweeps are in the same location)I chose to geocode within the spreadsheet because I was too timid to tackle the new Geocoder class in the Google Maps API.
I used the CONCATENATE function to construct a URL from the stem http://maps.google.com/maps/geo?output=csv&q= and the user’s location (suburb, town/city, country). For example, copy this URL into your address bar:
maps.google.com/maps/geo?output=csv&q=Darlinghurst,Sydney
The ImportData function runs this URL and adds the result to neighbouring columns. Note the limit of 50 ImportData functions per spreadsheet.
When building the markers on the map, it was easy to grab the user’s profile picture and description from Twitter via their API. Try this URL with your screen name:
http://api.twitter.com/1/users/show.xml?screen_name=[ScreenName]
I generated a generic shadow using Google Maps Icon Shadowmaker although I didn’t anticipate some profile pictures having transparency.
I hope this project shows that anyone with HTML, a search engine and some patience can build tools for fun and on the cheap. It’s a monkey see, monkey do approach. Not very efficient, often frustrating, but you have to get your hands dirty.
See Gabriel Svennerberg for a good introduction to the API, work off the demos at Google and find inspiration at Google Maps Mania.
And if you’re coming to LGWN10, add yourself to the map.
Jason Ryan is one of those rare people who is both gov insider and hacker. He has a talent for distilling clear and practical advice for government from the miasma of social media commentary. And he could be the script writer for a Google-era antipodean Yes Minister.
His talk at this year’s Local Government Web Network conference was Open Sourcing Government. There were few slides but lots to think about. (To see his notes, click bottom right on the “Ø” character.)
I haven’t had a chance to listen back to the audio and I didn’t take notes but two things stood out for me.
The first was the story of the Student Loans Forum. New Zealand’s tax office is considering changes to the way it collects these loans and wanted to consult with recipients of the service.
Naturally senior managers were concerned with what people might say on the department’s web space. The promise of a ‘moderation SWAT team’ eased these fears. It’s a powerful image – one to borrow! – when countering arguments for comments in business hours only. But clearly these logistics must be considered early when planning an online consultation. From memory the Student Loans Forum moderation team was available 18 hours of every day.
I also liked how the department didn’t over-promise what would be done with contributions.
We would like you to take part in this forum and let us know how the changes will affect you. We’ll keep your comments in mind when we make formal recommendations to government ministers on the detail of the changes.
via Jason Ryan, ‘Consult And Engage’
I understand Bang The Table do something similar. There are difficulties with accepting each and every comment, post and tweet as a formal submission. Often these submissions require detailed personal identification or disclosures that would render the comment process onerous and discourage participation. In some server and software environments, privacy and record keeping obligations may not be adequately met. Using a forum to ‘take the temperature’ of an issue seems fair.
Jason Ryan also talked about risk. He pointed to Nicholas Gruen’s theory of Serial Professional Innovation Negation or SPIN and quoted Malcolm Tucker from The Thick Of It: “are you a lion tamer or are you a pussy?”
Both these works are well worth catching. But I especially liked these comments:
A former State Services Commissioner used to address this point directly and forcefully: never do anything that you would be ashamed of. (That is about judgement). He would go on to say; that aside, public servants should not be afraid of embarrassing themselves (and that speaks directly to our courage).
As it’s something that’s concerned me, I imagine it’s an issue for others. There’s no risk updating the website. Taking council’s information and identity beyond its domain does introduce risk. Even official blogging policies can obfusticate. Maybe the two points in the paragraph above could be the beginning and end of your council’s ‘social media policy’.
He told a story about senior managers’ concern about blogging from within the government. As Manager, Communications & Records Management for the State Services Commission, it was expected that Ryan would have more work to do. But he wasn’t going to write their blog posts (it wouldn’t be a blog then) and with the contributing officer attaching his or her name and image to a post, he had less risk to manage.
In my view, trust employees (civil servants, council officers) to blog or otherwise engage online as themselves and at worst you are expecting them to be competent and at best encouraging them to excel. What’s a resume now without links?
Jason Ryan blogs for The Network of Public Sector Communicators and is @jasonwryan on Twitter.
Another string & sticky tape home craft session. See the result. The nice bit is that people can add themselves to the map. Here are the steps taken:
… are generated courtesy of the SPIURL web service. It provides a static link to Twitter profile images.