Tango.info event code: Difference between revisions
Jump to navigation
Jump to search
m (moved tango.info event code to Tango.info event code) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''D R A F T''' | '''D R A F T''' | ||
== Definition == | == Definition == | ||
A tango.info event code is a [[tango.info | A tango.info event code is a [[tango.info object code]] that identifies an event. | ||
== Format == | == Format == | ||
Line 12: | Line 12: | ||
Example: | Example: | ||
* | * https://tango.info/1996debera (festival, source csv) | ||
* | * https://tango.info/2010xdepvp (repeated event, source csv) | ||
* | * https://tango.info/2010xtchzk (single event, source wiki) | ||
== Music performances before the year 2000 == | == Music performances before the year 2000 == |
Latest revision as of 2013-06-13T01:41:25
D R A F T
Definition
A tango.info event code is a tango.info object code that identifies an event.
Format
A code for a tango.info event has the format
NNNNabcdef regex: [0-9]{4}[a-z]{6} Note: some old festival codes contain a number in position c
Where NNNN is the year of the start of the event or if unknown, the year when the event was registered in tango.info, or if unknown, when it received the code.
Example:
- https://tango.info/1996debera (festival, source csv)
- https://tango.info/2010xdepvp (repeated event, source csv)
- https://tango.info/2010xtchzk (single event, source wiki)
Music performances before the year 2000
- it is under consideration to give unique 4 letter ids to these
- The system would use tango.info base20, the letters will only be 20 consonants, leaving out "l" which could be mistaken for "1".
- this gives 20^4 = 160 000 ids.
- the 4-letter code would be contained in the tango.info event code at the last four positions, e.g. code "bcdf" as event code could be 1949xmbcdf
- 1:1 conversion of 4-letter code by using the 20 consonants in alphabetical order as representatives in a base 20 counting system.
- bbbc = 1, bbbd = 2, bbbz = 19, bbcb = 20
- if the year of the performance is unknown, currently no id will be assigned
- if knowledge of the year changes a 2nd code may be assigned and the former be marked as deprecated.
Festivals
A festival code contained a UN/LOCODE if this existed for that location.
- ARBUE2008C (deprecated)
- 2008ARBUEC (deprecated)
- 2008arbuec (format introduced 2009-09-20)