[go: up one dir, main page]

Menu

Tree [ff02e6] master mdfiles /
 History

HTTPS access


File Date Author Commit
 .idea 2018-11-30 gilles gilles [6ac443] désyncronisation du ParseurAPITweeter et totale...
 unitTest 2018-12-01 gilles gilles [0b96bf] vérification du fonctionnement de la recherche OK
 .DS_Store 2018-12-17 Maxime Marmont Maxime Marmont [f33d53] Delete input files from repo
 .gitignore 2018-12-17 Maxime Marmont Maxime Marmont [3ca96e] Add entries to gitignore
 DEVELOPER_GUIDE.md 2019-01-11 Maxime Marmont Maxime Marmont [388784] Add DEVELOPER_GUIDE
 DocGenerator.js 2019-01-11 Maxime Marmont Maxime Marmont [b3ddd8] Pretify code
 GraphGenerator.js 2019-01-11 Maxime Marmont Maxime Marmont [b3ddd8] Pretify code
 Parseur.js 2019-01-11 Maxime Marmont Maxime Marmont [b3ddd8] Pretify code
 ParseurAPITweter.js 2019-01-11 Maxime Marmont Maxime Marmont [b3ddd8] Pretify code
 ParseurCSV.js 2019-01-11 Maxime Marmont Maxime Marmont [b3ddd8] Pretify code
 README.md 2019-01-11 Maxime Marmont Maxime Marmont [ff02e6] Fix alignment in README
 Tweet.js 2019-01-11 Maxime Marmont Maxime Marmont [b3ddd8] Pretify code
 TweetList.js 2019-01-11 Maxime Marmont Maxime Marmont [b3ddd8] Pretify code
 config.js 2019-01-11 Maxime Marmont Maxime Marmont [b3ddd8] Pretify code
 package.json 2019-01-11 Maxime Marmont Maxime Marmont [b3ddd8] Pretify code
 tiger.js 2019-01-11 Maxime Marmont Maxime Marmont [b3ddd8] Pretify code

Read Me

Dalton corp project

Projet visant à traiter les données de twitter pour en extraire des information claires et créer des graphes pertinents. Le projet est à destination des chefs de projets dans l'événementiel.

Installation

Dans l'invite de commande

  • Cloner le code :

    git clone ssh://git.code.sf.net/p/daltoncorp-gl02/code daltoncorp-gl02-code

  • Installer les dépendances

    cd daltoncorp-gl02-code
    npm install

Aide

daltonCorpProject
    utilisation:
        node tiger <command> 
        command: 
            check                       Check if a folder contain valid CSV file
            readme                      Display the README.md file, and the option available foreach command
            graphbyday <destPath>       Saves a graph representing the amount of tweets by day                                                                                     
            toptweets destPath          Saves a docx list of the 10 most retweeted tweets                                                                                          
            authors <destPath>          Saves a docx list of the tweets's authors, sorted by the amount of available informations                                                  
            tophashtags <destPath>      Saves a docx list of the 10 most used related hashtags                                                                                     
            map <destPath>              Saves a map representing the amount of related tweets by location                                                                          
            search <destPath>           Saves a docx list of tweets corresponding to the user search, specified during the execution. The call of at least one option is mandatory.
            help <command>              Display help for a specific command

        global options:
            -h, --help         Display help                                      
            -V, --version      Display version                                   
            --no-color         Disable colors                                    
            --quiet            Quiet mode - only displays warn and error messages
            -v, --verbose      Verbose mode - will also output debug messages

        Specific options:
            Specific Command:
                graphbyday      -p, --peridod           Restricts/extends the graph to a certain period asked later
                search          -d, --creationDate      Enables search by date
                                -t, --hastag            Enables search by hashtags
                                -k, --text              Enables search by keewords in the text of the tweets
                                -a, --userName          Enables search by author
                                -r, --retweetCount      Enables search by number of retweets
                                -l, --userLocation      Enables search by location

    puis suivre les indications données par le programme. 
    Sur certaines commandes il est demmandé de choisir le type de donnée importer, depuis Twitter ou depuis des fichiers CSV stocké en local.

    écart avec le cahier des charges:
        -le programme à é décrit pour une GUI mais compte tenu du temps que nous avons pour dévelloper nous avons réalisé une interface console.
        -nous devions retourner un dossier doc mais il est propriétaire donc nous retournons un docx.
        -nous avons dialoguer sur la façon de présenter les fichiers.
        -nous ne pouvons pas rendre une image au format PNG car nous avons une incopatibilié avec canvas donc nous faisons le choix de générer un SGV
        -ne pouvant pas faire la spec6 avec la position géopgraphique car il nous manque la latitude et la longitude nous faisons le choix de faire une barchar de la ville en fonction de la proportion de tweet