You can also find the latitude and longitude data for a city by visiting a website such as LatLong.Net and searching for your chosen city. When you visit the page for a given city the 5-digit code will be visible in the URL. You can find the metro code for the city of your choice by visiting the Songkick website and searching for a city. You will need the metro_id code to complete Step 3, and the latitude and longitude coordinates in Step 6. This section will show you how to find that information using the Songkick API. For mapping purposes, you will also need the latitude and longitude coordinates of that city. In order to get details for venues within a given city you will first need to find out which ‘metro area’ Songkick places that city within, along with the 5-digit metro_id code associated with that area. Find ‘Metro Area Code’ and location data for your city Without an API key you will not be able to proceed with this tutorial.Ģ. Songkick aim to respond to requests for API keys within 7 days. You can click here to read those terms and conditions in full. The links above will explain those resources and the installation processes much better than I would be able to.Ī non-commerical Songkick API key is also free, but there are certain terms of use that you should be aware of before applying for and using your API key. R and R Studio are available as free, open source downloads and there are a huge number of resources online that will help you get started. A Songkick API key - visit Songkick’s site for more information and to complete the online form for requesting a key.R Studio - visit the R Studio website for more information and download links.The latest installation of R - visit The R Project website for more information and download links.Install R and R Studio, and obtain an API keyīefore attempting to run the code contained within this post you will need the following: At the end of the post I offer some thoughts on the process and about the data I have gathered, along with some suggestions about where I would like to take this process. ![]() I can be contacted via email at workflow moves through 6 phases, each of which opens with a brief description of the process involved. The code was working correctly as of 06/02/20, but please do let me know if you encounter errors. The map will also provide pop-up information for each venue, including venue capacity, website address, and so on.Īll the code required to create your map is provided below, along with explanations of what the various elements do. This post will help you create a map plotting all venues for a given city present in the Songkick API. ![]() Since I was unable to find much at all around Songkick and R, I have created a walkthrough tutorial of my own.īy following the steps outlined below you should be able to make a similar map for a city of your choice - either be your own home city, or a city you are intending to visit soon. Before starting that process, I had looked around online to see if anyone else had tried something similar (and - I hoped - had then been inclined to create a walkthrough tutorial). Over the last week - and following quite a bit of trial and error! - I have managed to create a workflow using R that pulls data from that API and creates interactive map of music venues. My aim with exploring their API was to see what information could be gathered that might help us begin to understand the landscape of live music in Birmingham. Their API provides access to data for over 6 million concerts. Through their website and mobile app users can track touring artists, receive alerts for concerts in their area, and purchase tickets to shows. Songkick is a service that provides discovery and ticket sales for live music events worldwide. As part of that work I’ve been exploring the API of Songkick in an attempt to generate an initial map of the music venues in the city. I am currently working on research project that is looking at live music in my home city of Birmingham, UK.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |