Tango.info event code

From tango.info wiki
Jump to navigation Jump to search
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:

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)