An open source, stand-alone, customisable public spending data web app.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

scoreboard.haml 3.5 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. .grid_12
  2. %h2= @page_title = "Council Spending Data Scoreboard"
  3. %p.noprint.download
  4. %a{ :href => "/scoreboard.csv" }
  5. Download data as CSV
  6. %table
  7. %tr
  8. %th Council
  9. %th Data URL
  10. %th Open licence?
  11. %th Machine readable?
  12. %th Start
  13. %th End
  14. %th Updated
  15. - for council in @councils
  16. %tr
  17. %td
  18. %a{ :href => council.url }
  19. = council.name
  20. %td
  21. %a{ :href => council.data_url }
  22. data
  23. %td= yesno(council.open_licence)
  24. %td= yesno(council.machine_readable)
  25. %td= council.start_d.strftime("%b %Y")
  26. %td= council.end_d.strftime("%b %Y")
  27. %td= council.updated_at.strftime("%d %b %Y")
  28. %p.highlight.noprint
  29. This scoreboard data is free for you to use according to the
  30. %a{ :href => "http://creativecommons.org/licenses/by/3.0/"}<
  31. Creative Commons Attribution 3.0 Unported Licence.
  32. Please credit to
  33. %strong
  34. Adrian Short/Armchair Auditor
  35. and link back to
  36. %a{ :href => "http://armchairauditor.co.uk/scoreboard" }<
  37. http://armchairauditor.co.uk/scoreboard
  38. where possible.
  39. %h3 Notes
  40. %p
  41. If your council is publishing spending data please be aware of the guidance from
  42. %a{ :href => "http://opengovernmentdata.org/finances/"}<
  43. Open Government Data
  44. and the
  45. %a{ :href => "http://data.gov.uk/blog/publishing-itemised-local-authority-expenditure-advice-comment"}<
  46. Local Public Data Panel.
  47. You can ask questions and get support in the
  48. %a{ :href => "http://www.communities.idea.gov.uk/c/3916997/home.do" }<
  49. Local Open Data Community
  50. on Communities of Practice for Local Government (approved registration required.)
  51. %table
  52. %tr
  53. %td.strong Data URL
  54. %td
  55. A web page that links to the various downloadable data files.
  56. %tr
  57. %td.strong Open licence?
  58. %td
  59. If Yes, the council is explicitly stating an open licence which allows people to use and republish the data, including for commercial purposes. Councils that don't have an open licence could
  60. %a{ :href => "http://www.rbwm.gov.uk/web/finance_payments_to_suppliers.htm"}<
  61. follow Windsor and Maidenhead's example
  62. and adopt
  63. %a{ :href => "http://data.gov.uk/terms-and-conditions"}<
  64. the data.gov.uk licence.
  65. An open licence is essential to enable the maximum use of this data and allow it to be combined with data from other councils to enable comparisons and benchmarking.
  66. %tr
  67. %td.strong Machine readable?
  68. %td
  69. The data needs to be able to be pulled directly into a database or spreadsheet from the web, not just visible as a web page or document. Acceptable formats include CSV, JSON and XML. Unacceptable formats include PDF and Word documents which can't be directly loaded as data into another program. It is also unacceptable to use a word-verification
  70. %a{:href => "http://en.wikipedia.org/wiki/CAPTCHA"}<
  71. CAPTCHA
  72. to prevent automated downloads.
  73. %tr
  74. %td.strong Start
  75. %td
  76. The start of the period for which spending data is published.
  77. %tr
  78. %td.strong End
  79. %td
  80. The end of the period for which spending data is published.
  81. %tr
  82. %td.strong Updated
  83. %td
  84. The date on which this scoreboard data was updated for this council. If you are concerned that your own council's data is out of date here, please
  85. %a{ :href => '/about' }<
  86. get in touch.