Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
The getData function to support articles on Kendo UI on my blog: http://colinmackay.co.uk/tag/kendo-ui/
// Data source: http://www.guardian.co.uk/news/datablog/2011/feb/23/british-tourist-attractions-visitor-figures
// Usages of this gist: http://colinmackay.co.uk/tag/kendo-ui/
function getData()
{
var result = [{"Site":"British Museum","Visitors":5842138,"FreeCharge":"F","Change":0.05},{"Site":"Tate Modern","Visitors":5061172,"FreeCharge":"F","Change":0.07},{"Site":"National Gallery","Visitors":4954914,"FreeCharge":"F","Change":0.04},{"Site":"Natural History Museum","Visitors":4647613,"FreeCharge":"F","Change":0.13},{"Site":"Science Museum (South Kensington)","Visitors":2751902,"FreeCharge":"F","Change":-0.01},{"Site":"V&A (South Kensington)","Visitors":2629065,"FreeCharge":"F","Change":0.16},{"Site":"National Maritime Museum","Visitors":2419802,"FreeCharge":"F","Change":0.02},{"Site":"Tower of London (HRP)","Visitors":2414541,"FreeCharge":"C","Change":0.01},{"Site":"St Paul\u0027s Cathedral","Visitors":1892467,"FreeCharge":"F/C","Change":0.04},{"Site":"National Portrait Gallery","Visitors":1819442,"FreeCharge":"F","Change":-0.07},{"Site":"Tate Britain","Visitors":1665291,"FreeCharge":"F","Change":0.11},{"Site":"British Library","Visitors":1454612,"FreeCharge":"F","Change":0.05},{"Site":"Westminster Abbey","Visitors":1394427,"FreeCharge":"F/C","Change":-0.04},{"Site":"National Galleries of Scotland (Edinburgh sites)","Visitors":1281465,"FreeCharge":"F/C","Change":0.1},{"Site":"Old Royal Naval College Greenwich","Visitors":1274957,"FreeCharge":"F","Change":0.28},{"Site":"Edinburgh Castle (Historic Scotland)","Visitors":1210248,"FreeCharge":"F/C","Change":0.01},{"Site":"Chester Zoo","Visitors":1154285,"FreeCharge":"C","Change":-0.07},{"Site":"Royal Botanic Gardens, Kew","Visitors":1141973,"FreeCharge":"C","Change":-0.12},{"Site":"Kelvingrove Art Gallery & Museum (Glasgow)","Visitors":1070521,"FreeCharge":"F","Change":-0.22},{"Site":"Imperial War Museum (London)","Visitors":1069358,"FreeCharge":"F","Change":0.21},{"Site":"Roman Baths & Pump Room, Bath","Visitors":1054621,"FreeCharge":"C","Change":0.02},{"Site":"Canterbury Cathedral","Visitors":1033463,"FreeCharge":"F/C","Change":0.02},{"Site":"Merseyside Maritime Museum","Visitors":1027475,"FreeCharge":"F","Change":0.09},{"Site":"ZSL London Zoo","Visitors":1011257,"FreeCharge":"F/C","Change":-0.05},{"Site":"Stonehenge (EH)","Visitors":1009973,"FreeCharge":"C","Change":0.02},{"Site":"Eden Project","Visitors":1000511,"FreeCharge":"C","Change":-0.03},{"Site":"Royal Horticultural Society, Wisley","Visitors":803986,"FreeCharge":"F/C","Change":-0.16},{"Site":"World Museum Liverpool (National Museums Liverpool)","Visitors":748065,"FreeCharge":"F","Change":0.23},{"Site":"Chatsworth House Trust (THE)","Visitors":716616,"FreeCharge":"C","Change":0.1},{"Site":"Royal Botanic Garden Edinburgh","Visitors":707244,"FreeCharge":"F","Change":0.22},{"Site":"Houses of Parliament","Visitors":703255,"FreeCharge":"F/C","Change":-0.27},{"Site":"National Railway Museum","Visitors":624145,"FreeCharge":"F","Change":-0.16},{"Site":"National Museum of Scotland (National Museums Scotland)","Visitors":619254,"FreeCharge":"F","Change":0.05},{"Site":"Tate Liverpool","Visitors":615596,"FreeCharge":"F","Change":0.14},{"Site":"St Fagans: National History Museum (Wales)","Visitors":610155,"FreeCharge":"F","Change":-0.03},{"Site":"Leeds Castle (THE)","Visitors":559261,"FreeCharge":"C","Change":-0.13},{"Site":"Hampton Court Palace (HRP)","Visitors":550225,"FreeCharge":"C","Change":-0.1},{"Site":"National War Museum (National Museums Scotland)","Visitors":528776,"FreeCharge":"F","Change":0.07},{"Site":"National Media Museum","Visitors":526914,"FreeCharge":"F","Change":-0.13},{"Site":"Blenheim Palace (THE)","Visitors":524593,"FreeCharge":"C","Change":-0.02},{"Site":"York Minster **","Visitors":512075,"FreeCharge":"F/C","Change":-0.03},{"Site":"Gallery of Modern Art (Glasgow Museums)","Visitors":490872,"FreeCharge":"F","Change":-0.09},{"Site":"International Slavery Museum (National Museums Liverpool)","Visitors":458569,"FreeCharge":"F","Change":0.28},{"Site":"The Falkirk Wheel (British Waterways)","Visitors":439072,"FreeCharge":"F/C","Change":-0.08},{"Site":"ZSL Whipsnade Zoo","Visitors":428684,"FreeCharge":"F/C","Change":-0.1},{"Site":"V&A Museum of Childhood","Visitors":403549,"FreeCharge":"F","Change":0.04},{"Site":"Wakehurst Place (NT)","Visitors":402180,"FreeCharge":"C","Change":-0.12},{"Site":"Imperial War Museum , Duxford","Visitors":399262,"FreeCharge":"C","Change":0.03},{"Site":"Stirling Castle (Historic Scotland)","Visitors":377204,"FreeCharge":"F/C","Change":-0.02},{"Site":"Stourhead (NT)","Visitors":361730,"FreeCharge":"F/C","Change":0.01},{"Site":"National Museum Cardiff","Visitors":358480,"FreeCharge":"F","Change":-0.04},{"Site":"Beaulieu (THE)","Visitors":354048,"FreeCharge":"C","Change":0.01},{"Site":"Dover Castle (EH)","Visitors":349182,"FreeCharge":"C","Change":0.15},{"Site":"Fountains Abbey & Studley Royal (NT)","Visitors":342499,"FreeCharge":"F/C","Change":-0.02},{"Site":"Churchill War Rooms","Visitors":328621,"FreeCharge":"C","Change":0.05},{"Site":"Waddesdon Manor (NT)","Visitors":323450,"FreeCharge":"F/C","Change":-0.07},{"Site":"Urquhart Castle (Historic Scotland)","Visitors":286262,"FreeCharge":"F/C","Change":0.01},{"Site":"Attingham Park (NT)","Visitors":277428,"FreeCharge":"F/C","Change":0.07},{"Site":"Royal Armouries Museum (Leeds)","Visitors":274768,"FreeCharge":"F","Change":0.01},{"Site":"Belton House (NT)","Visitors":264239,"FreeCharge":"F/C","Change":0.06},{"Site":"St Michael\u0027s Mount (NT)","Visitors":264072,"FreeCharge":"F/C","Change":0.1},{"Site":"National Waterfront Museum (Wales)","Visitors":263484,"FreeCharge":"F","Change":0.02},{"Site":"Kensington Palace (HRP)","Visitors":251817,"FreeCharge":"C","Change":-0.08},{"Site":"Walker Art Gallery (National Museums Liverpool)","Visitors":251543,"FreeCharge":"F","Change":0.17},{"Site":"Harewood House (THE)","Visitors":247745,"FreeCharge":"F/C","Change":0.03},{"Site":"Imperial War Museum (North)","Visitors":247600,"FreeCharge":"F","Change":0.05},{"Site":"Calke Abbey (NT)","Visitors":247207,"FreeCharge":"F/C","Change":0.03},{"Site":"Royal Horticultural Society, Harlow Carr","Visitors":246563,"FreeCharge":"F/C","Change":-0.05},{"Site":"Polesden Lacey (NT)","Visitors":246537,"FreeCharge":"F/C","Change":-0.06},{"Site":"People\u0027s Palace (Glasgow Museums)","Visitors":245770,"FreeCharge":"F","Change":-0.09},{"Site":"HMS Belfast","Visitors":240769,"FreeCharge":"C","Change":-0.08},{"Site":"Larrybane (NT)","Visitors":237420,"FreeCharge":"F/C","Change":-0.02},{"Site":"Cliveden (NT)","Visitors":233913,"FreeCharge":"F/C","Change":0.13},{"Site":"Osborne House (EH)","Visitors":232276,"FreeCharge":"C","Change":-0.03},{"Site":"Anglesey Abbey (NT)","Visitors":231289,"FreeCharge":"F/C","Change":0.05},{"Site":"Penrhyn Castle (NT)","Visitors":230454,"FreeCharge":"F/C","Change":0.01},{"Site":"Castle Howard (THE)","Visitors":216566,"FreeCharge":"C","Change":-0.07},{"Site":"Nymans Garden (NT)","Visitors":211036,"FreeCharge":"F/C","Change":-0.05},{"Site":"Lanhydrock (NT)","Visitors":210362,"FreeCharge":"F/C","Change":-0.02},{"Site":"Tate St Ives","Visitors":207254,"FreeCharge":"C","Change":-0.03},{"Site":"Kingston Lacy (NT)","Visitors":203488,"FreeCharge":"F/C","Change":0.06},{"Site":"Lady Lever Art Gallery (National Museums Liverpool)","Visitors":200937,"FreeCharge":"F","Change":0.04},{"Site":"Wallington Park (NT)","Visitors":199024,"FreeCharge":"F/C","Change":0.01},{"Site":"Sheffield Park (NT)","Visitors":197202,"FreeCharge":"F/C","Change":-0.06},{"Site":"Dunham Massey (NT)","Visitors":196219,"FreeCharge":"F/C","Change":0.27},{"Site":"National Railway Museum “Locomotion” Shildon","Visitors":194106,"FreeCharge":"F","Change":0.24},{"Site":"Bodnant Garden (NT)","Visitors":191069,"FreeCharge":"F/C","Change":-0.03},{"Site":"Tintagel Castle, Cornwall (EH)","Visitors":190246,"FreeCharge":"C","Change":-0.04},{"Site":"Corfe Castle (NT)","Visitors":189647,"FreeCharge":"F/C","Change":-0.05},{"Site":"Cragside Estate (NT)","Visitors":189280,"FreeCharge":"F/C","Change":-0.16},{"Site":"Mottisfont (NT)","Visitors":189072,"FreeCharge":"F/C","Change":0.17},{"Site":"Chartwell (NT)","Visitors":188705,"FreeCharge":"F/C","Change":-0.03},{"Site":"Burrell Collection (Glasgow Museums)","Visitors":187756,"FreeCharge":"F","Change":-0.08},{"Site":"Bodiam Castle (NT)","Visitors":176193,"FreeCharge":"F/C","Change":-0.06},{"Site":"Culzean Castle & Country Park (National Trust for Scotland)","Visitors":175549,"FreeCharge":"F/C","Change":0},{"Site":"Hardwick Hall (NT)","Visitors":165150,"FreeCharge":"F/C","Change":0.01},{"Site":"Killerton (NT)","Visitors":161196,"FreeCharge":"F/C","Change":0.11},{"Site":"Museum of Transport (Glasgow Museums)","Visitors":160571,"FreeCharge":"F","Change":-0.66},{"Site":"Ickworth (NT)","Visitors":159777,"FreeCharge":"F/C","Change":-0.11},{"Site":"Sudbury Hall (NT)","Visitors":159178,"FreeCharge":"F/C","Change":-0.04},{"Site":"Claremont Landscape Garden (NT)","Visitors":157270,"FreeCharge":"F/C","Change":-0.02},{"Site":"Pier Master\u0027s House (National Museums Liverpool)","Visitors":157054,"FreeCharge":"F","Change":0.15},{"Site":"Big Pit: National Coal Museum (Wales)","Visitors":155631,"FreeCharge":"F","Change":-0.05},{"Site":"Sissinghurst (NT)","Visitors":154530,"FreeCharge":"F/C","Change":-0.21},{"Site":"Mount Stewart (NT)","Visitors":153552,"FreeCharge":"F/C","Change":0.15},{"Site":"Hidcote Manor Garden (NT)","Visitors":148680,"FreeCharge":"F/C","Change":-0.07},{"Site":"St Mungo Museum of Religious Art (Glasgow Museums)","Visitors":143017,"FreeCharge":"F","Change":-0.01},{"Site":"Royal Horticultural Society, Rosemoor","Visitors":140831,"FreeCharge":"F/C","Change":-0.01},{"Site":"Erddig (NT)","Visitors":140563,"FreeCharge":"F/C","Change":0.07},{"Site":"1066 Battle of Hastings:Abbey & Battlefield (EH)","Visitors":136504,"FreeCharge":"C","Change":0.01},{"Site":"Dyrham Park (NT)","Visitors":135920,"FreeCharge":"F/C","Change":-0.01},{"Site":"Home Farm Wimpole (NT)","Visitors":132477,"FreeCharge":"F/C","Change":-0.05},{"Site":"Royal Horticultural Society, Hyde Hall","Visitors":131780,"FreeCharge":"F/C","Change":-0.02},{"Site":"Baddesley Clinton (NT)","Visitors":130696,"FreeCharge":"F/C","Change":0},{"Site":"Brownsea Island (NT)","Visitors":130114,"FreeCharge":"F/C","Change":0.02},{"Site":"Cotehele (NT)","Visitors":129486,"FreeCharge":"F/C","Change":-0.02},{"Site":"Kenwood House, London (EH)","Visitors":128783,"FreeCharge":"F","Change":0.11},{"Site":"Dunster (NT)","Visitors":128242,"FreeCharge":"F/C","Change":-0.05},{"Site":"Castle Drago Estate (NT)","Visitors":127123,"FreeCharge":"F/C","Change":0.01},{"Site":"Trelissick (NT)","Visitors":126705,"FreeCharge":"F/C","Change":0.04},{"Site":"Tyntesfield (NT)","Visitors":123440,"FreeCharge":"F/C","Change":0.18},{"Site":"Montacute House (NT)","Visitors":125008,"FreeCharge":"F/C","Change":0.12},{"Site":"Clifford\u0027s Tower, York (EH)","Visitors":122138,"FreeCharge":"C","Change":0.03},{"Site":"Audley End House & Gardens, Essex (EH)","Visitors":120102,"FreeCharge":"C","Change":0.21},{"Site":"Carisbrooke Castle, Isle of Wight (EH)","Visitors":118354,"FreeCharge":"C","Change":-0.08},{"Site":"Whitby Abbey, North Yorkshire (EH)","Visitors":117289,"FreeCharge":"C","Change":-0.11},{"Site":"Anderton Boat Lift (British Waterways)","Visitors":116922,"FreeCharge":"F/C","Change":0.03},{"Site":"Natural History Museum at Tring","Visitors":113859,"FreeCharge":"F","Change":-0.04},{"Site":"Provand\u0027s Lordship (Glasgow Museums)","Visitors":107044,"FreeCharge":"F","Change":-0.08},{"Site":"National Conservation Centre (National Museums Liverpool)","Visitors":103548,"FreeCharge":"F","Change":-0.17},{"Site":"Burghley House (THE)","Visitors":96855,"FreeCharge":"C","Change":-0.02},{"Site":"Royal Armouries Museum (Fort Nelson, Portsmouth)","Visitors":70540,"FreeCharge":"F","Change":-0.08},{"Site":"Woburn Abbey & Gardens (THE)","Visitors":68930,"FreeCharge":"C","Change":0.05},{"Site":"Sudley House (National Museums Liverpool)","Visitors":68463,"FreeCharge":"F","Change":0.06},{"Site":"St Peter\u0027s Church, Sandwich, Kent (CCT)","Visitors":66366,"FreeCharge":"F","Change":-0.03},{"Site":"St Peter\u0027s Church, Sudbury, Suffolk (CCT)","Visitors":59567,"FreeCharge":"F","Change":0.01},{"Site":"St Mary\u0027s Church, Shrewsbury, Shropshire (CCT)","Visitors":49690,"FreeCharge":"F","Change":-0.16},{"Site":"Scotland Street School Museum (Glasgow Museums)","Visitors":49346,"FreeCharge":"F","Change":-0.24},{"Site":"Benmore Botanic Garden (Argyll) (RBGE)","Visitors":49129,"FreeCharge":"C","Change":-0.06},{"Site":"Holy Trinity Church, North Yorkshire (CCT)","Visitors":48515,"FreeCharge":"F","Change":-0.06},{"Site":"St John\u0027s Church, Chichester, West Sussex (CCT)","Visitors":42754,"FreeCharge":"F","Change":0.05},{"Site":"St Peter & St Paul Church, Albury, Surrey (CCT)","Visitors":41743,"FreeCharge":"F","Change":0.28},{"Site":"All Saints Church, Kedleston, Derbyshire (CCT)","Visitors":41731,"FreeCharge":"F","Change":-0.01},{"Site":"St Mary Magdalene,Croome D\u0027Abitot,Worcestershire (CCT)","Visitors":41322,"FreeCharge":"F","Change":0.18},{"Site":"All Saints, Harewood, West Yorkshire (CCT)","Visitors":37563,"FreeCharge":"F","Change":0.03},{"Site":"St Andrew\u0027s Church, Hove, East Sussex (CCT)","Visitors":36669,"FreeCharge":"F","Change":-0.24},{"Site":"Dawyck Botanic Garden (Borders) (RBGE)","Visitors":30158,"FreeCharge":"C","Change":-0.17},{"Site":"Holkham Hall (THE)","Visitors":29459,"FreeCharge":"F/C","Change":0.12},{"Site":"Logan Botanic Garden (Galloway) (RBGE)","Visitors":22131,"FreeCharge":"C","Change":-0.1},{"Site":"Glasgow Museums Resource Centre","Visitors":9059,"FreeCharge":"F","Change":0.39}];
return result;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment