Coder Social home page Coder Social logo

Comments (3)

pierre-lamarche avatar pierre-lamarche commented on September 14, 2024

Sous quel OS travailles-tu pour doremifasol ?
L'encodage du fichier csv est UTF-8 ; d'expérience, si tu ouvres le fichier avec LibreOffice sous Windows, le système te fait des petites blagues en modifiant l'encodage du fichier (il le passe en CP1252). Du coup, ça plante puisqu'on spécifie l'encodage dans la ligne d'import du csv (fichier liste_donnees.R dans le dossier raw-data, ligne 5). Il faut bien spécifier le format d'encodage quand on sauvegarde le csv après modification.

from doremifasol.

py-b avatar py-b commented on September 14, 2024

Windows 8 sur mon poste perso et Windows 10 sur poste Insee.

Je n'ai pas fait l'erreur d'essayer de le modifier avec LibreOffice ! Dans un premier temps, j'ai modifié le csv dans RStudio directement, puis avec NotePad++ qui m'a indiqué que c'était bien en UTF-8 avant et après la modif.

Mystérieux et toujours pénibles ces problèmes d'encodage...

from doremifasol.

py-b avatar py-b commented on September 14, 2024

Probablement plus d'actualité avec le passage au json.

from doremifasol.

Related Issues (20)

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.