Skip to content

ID Generation

René Reitmann edited this page Oct 19, 2021 · 7 revisions

ID-Generation

Logic

  • DataAcquesitionProject (DAP-id) -> ???
  • Data Package -> "stu-" + DAP-id + "$"
  • Survey -> "sur-" + DAP-id + "-" + "sy" + survey.number + "$"
  • DataSet -> "dat-" + DAP-id + "-" + "ds" + dataSet.number + "$"
  • Variable -> "var-" + DAP-id + "-" + "ds" + "-" + variable.name + "$"
  • Instrument -> "ins-" + DAP-id + "-" + "ins" + instrument.number + "$"
  • Question -> "que-" + DAP-id + "-" + "ins" + instrument.number + "-" + question.number + "$"
  • Related Publication-> "pub" + bibtexkey + "$"
  • Concept-> "con" + alphanum + "$"
  • Analysis Package -> "ana" + DAP-id + "$"

Examples

  • DataAcquesitionProject -> abs2005
  • Data Package -> stu-abs2005$
  • Analysis Package -> ana-abs2005$
  • Survey -> sur-abs2005-sy1$
  • DataSet -> dat-abs2005-ds1$
  • Variable -> var-abs2005-ds1-MOPRENDE$
  • Instrument-> ins-abs2005-ins1$
  • Question -> que-abs2005-ins1-1.1$
  • Concept -> con-adfa$
  • BibliographicalReference -> pub-Meier.2010$

Genration rules

  • DataAcquesitionProject / Survey / DataSet / -> is created manually
  • Variable -> is given by the name of the variable
  • Question -> is given by the id of the corresponding questionaire and the number of the question
  • BibliographicalReference -> is generated by citavi