Git Product home page Git Product logo

hacktober-survey's Introduction

Favourite programming languages: a hacktober project

This is a collaborative project that explores the Github community's favourite programming languages from around the world.

Contribution Guidelines

To participate, create a json file with your first and last name in camelCase (e.g., johnSmith.json). Add the following object in your file and update it with your appropriate information:

{
    "gender": "m",
    "city": "Vancouver",
    "country": "Canada",
    "favLanguage": "Ruby on Rails",
    "nativeLanguage": "English",
    "age": {
        "under 20": "0",
        "20-24": "0",
        "25-29": "0",
        "30-34": "0",
        "35-39": "0",
        "40-44": "0",
        "45-49": "1",
        "50 and over": "0"
    },
    "programmingExperience": {
        "years": "0",
        "months": "6"
    }
}

Once you have updated your json file, add it to the data/ directory.

FYI - native language in the template json refers to spoken language.

Combining all json files

When a new json file is added to data/, update combinedArray.json by running:

npm run start

This command uses gulpfile.js to concatenante all jsons into one combined array.

hacktober-survey's People

Contributors

ahavaz avatar akshi8 avatar alesandrof avatar amanvishnani avatar ankushchatterjee avatar ashikpaul avatar balachandarsv avatar bhaskarmac avatar bkristenssonalfsson avatar brabec avatar campionfellin avatar cencristian avatar cjhaviland avatar cromagnonninja avatar davidkrdona avatar dougshort avatar faahim avatar fareskalaboud avatar fauer4effect avatar ffernandorl avatar harshil1712 avatar hasa93 avatar hgotthard avatar mechamogeo avatar nuxero avatar rhyuen avatar sittichoke avatar thecoderkd avatar thejsgirl avatar topspinj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hacktober-survey's Issues

Need to flatten combinedArray.json - perhaps as a gulp task

Right now we are working with a nested array (dist/combinedArray.json). Since we are converting it to a csv (dist/csv/combinedArray.csv), we will need to flatten it (i.e. un-nest it) in a format like this:

Before

{
    "gender": "f",
    "city": "Vancouver",
    "country": "Canada",
    "favLanguage": "python",
    "nativeLanguage": "english",
    "age": {
        "under 20": "0",
        "20-24": "0",
        "25-29": "1",
        "30-34": "0",
        "35-39": "0",
        "40-44": "0",
        "45-49": "0",
        "50 and over": "0"
    },
    "programmingExperience": {
        "years": "2",
        "months": "0"
    }
}

After

{
    "gender": "f",
    "city": "Vancouver",
    "country": "Canada",
    "favLanguage": "python",
    "nativeLanguage": "english",
    "age": "25-29",
    "programmingExperienceYears": "2",
    "programmingExperienceMonths": "0",
}

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.