Giter Site home page Giter Site logo

ddi-access-services's People

Contributors

a-cordier avatar alicela avatar bwerquin avatar dependabot[bot] avatar franckco avatar loichenninger avatar orogel avatar pierredebuisson avatar romaintailhurat avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ddi-access-services's Issues

Type mismatch in Notes from ColecticaItem

When querying QUESTIONNAIRE , we get "Notes": null. However Notes is supposed to be a JSONArray (so it should be : [] if it is empty). When querying CODE_LIST, we indeed get a JSONArray for Notes.

A good README file

We should enhance the current README with those goals in mind:

  • explain what, why, how
  • use a README "framework" (see this)

Code lists API for suggester component

A new feature is currently deployed in Insee data collection system: a suggester component, allowing autocompletion search when answering a question.

Currently, integrating this component is not fully automated, for example the designer can not declare the use of this component in Pogues (though it's a target).

In order to further automate, we want to provide an API for serving the underlying code list.

Get physicalInstance pour générer CSV

Sur DDI AS, créer service un GET qui prend en paramètre un uuid de physicalInstance (fichier physique) pour générer un CSV présentant le contenu des variables instanciées présentes dans le fichier.

Le nom du CSV est issu du nom du PhysicalInstance

la structure du csv est :

NOM_VAR , LIB_VAR, TYPE, COD_MOD, LIB_MOD,

  • NOM_VAR est le nom de la variable instanciée, l:Variable/l:VariableName

  • LIB_VAR est le libellé de la variable instanciée, l:Variable/r:Label

  • TYPE est le type de la variable instanciée en fonction du type de representation l:Variable/l:VariableRepresentation

  • TYPE = CODE pour une variable avec une liste de code l:Variable/l:VariableRepresentation/r:CodeRepresentation

  • TYPE = NUM pour une variable numérique l:Variable/l:VariableRepresentation/r:NumericRepresentation

  • TYPE= DATE pour une variable date l:Variable/l:VariableRepresentation/r:DateRepresentation

  • TYPE = TEXTE pour une variable de type textel:Variable/l:VariableRepresentation/r:TexteRepresentation

  • COD_MOD est le code dans une liste de codes , ou dans une liste de valeur manquante (par exemple NSP)

  • pour les codes "utiles" depuis la r:CodeListReference , l:CodeListe/l:Code/r:Value

  • pour les codes "sentinels ~valeur manquantes" depuis l:Variable/l:VariableRepresentation/l:MissingValuesReference/r:CodeListReference/ récupérer l:CodeListe/l:Code/r:Value

  • LIB_MOD est le libellé de la catégorie associée au code

  • depuis l:code/r:categoryReference récupérer l:Category/r:Label/r:Content

(en attente d'un éventuel retour sur ces notations , possible que NOM_VAR soit remplacé par une autre dénomination, pas mal de versions différentes de ce type)

il y a une observation par code, les valeurs des variables sont répétées autant de fois qu'il y a de modalités

On peut vous transmettre la transfo XSLT qu'on utilise actuellement en self pour ça si c'est utile.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.