These are chat archives for FreeCodeCamp/DataScience

3rd
May 2016
Zac Cassini
@zcassini
May 03 2016 00:13
@QuincyLarson for months I get a Median of 8 and an average of 14.95 with a range from 0 - 100 months. The average drops to 10.727 if i keep the range 0 to 48 months.
@QuincyLarson age is a median of 27 and avg of 29.06
Quincy Larson
@QuincyLarson
May 03 2016 02:23
@zcassini awesome - thanks!
CamperBot
@camperbot
May 03 2016 02:23
quincylarson sends brownie points to @zcassini :sparkles: :thumbsup: :sparkles:
:cookie: 405 | @zcassini |http://www.freecodecamp.com/zcassini
Quincy Larson
@QuincyLarson
May 03 2016 02:24
@zcassini I think I'll use 10.727 for the average then, since I think if you've coded for more than 4 years, that's no longer "new to coding"
Zac Cassini
@zcassini
May 03 2016 02:26
@QuincyLarson yeah thats kind of what I was thinking. This polling thing is foriegn to me though. The age includes people to young to work and people past the retirement age. I don't know at what point you trim the data.
Quincy Larson
@QuincyLarson
May 03 2016 03:32
@zcassini I think it's OK to leave off people who obviously lied about their age 0 - 6 years, 85 - 100 years
evaristoc
@evaristoc
May 03 2016 07:23
@zcassini thanks!
CamperBot
@camperbot
May 03 2016 07:23
evaristoc sends brownie points to @zcassini :sparkles: :thumbsup: :sparkles:
:cookie: 406 | @zcassini |http://www.freecodecamp.com/zcassini
Kris Gesling
@krisgesling
May 03 2016 09:09
Hi all, started the gender world map today, can view the code here:
http://codepen.io/krisgesling/pen/GZwYKV?editors=0010
and I've added some notes and details to the github issue:
FreeCodeCamp/2016-new-coder-survey#2
Any suggestions or collaborators would be most welcome
CamperBot
@camperbot
May 03 2016 09:09

welcome to FreeCodeCamp @krisgesling!

evaristoc
@evaristoc
May 03 2016 09:57

People

Advances with the Survey...

@erictleung did a great job recently starting the R code and a metadata file. I am updating the metadata file at:
https://github.com/evaristoc/2016-new-coder-survey/blob/clean-and-combine-data/survey-data-dictionary.md

If you are at some point involved in a survey project, be aware that this is usually done FIRST, previous to launching. Unfortunately the project had to be launched before.

We have an open issue at FreeCodeCamp/2016-new-coder-survey#26. Please feel free to follow and contribute. This part is relevant for further analysis. @Evaderei sorry, man... this is the "awful" part, specially when the data format is unknown...

evaristoc
@evaristoc
May 03 2016 10:04

@krisgesling Nice!

I wonder if you can add bars or pie charts per country instead of colours? It would be nicer if you do that, and clearer.

If you take the meteor project as template but after calling circles you add an angle layout, you can present those circles as pies. It could be just a modification of the meteor map.

All the meteor map should be kept as it is, only adding to circle the necessary for transforming them into pies.

Other thing: you must find the coordinates of the geographic centres of each country to positioning your pies. I also suggest that the areas of each pie per country should be proportional to the number of users that responded.

At the end, you should clarify what each colour of the pie means (reported gender) AND what the area scale to (ie. how many answers per country).

In my opinion, the MOST INTERESTING THING is not about gender proportion, but about the INCLUSION OF MINORITIES.

evaristoc
@evaristoc
May 03 2016 10:14
But above: it is a personal opinion...
Kris Gesling
@krisgesling
May 03 2016 10:58
@evaristoc totally agree regarding the representation of who is excluded, I was mostly trying to find a way to show it all without overwhelming the user when they first see it. Perhaps it could work to have the pie graphs included in the mouseover so the user can choose where they investigate. I'll try to get it finished tomorrow. I think it's also worth having an overall look at the global gender numbers.
evaristoc
@evaristoc
May 03 2016 11:04
:+1:
CamperBot
@camperbot
May 03 2016 11:04

:point_right: java loops types while [wiki]

The Java While Loop

The while statement evaluates the expression (which must return a boolean value), and if it is true, the Statements get executed.

while (expression)
{
  // Statements
}

In the following example, the expression is given by iter_While < 10. As we increment iter_While by 1 each time the loop is executed, the while loop will keep going till iter_While reaches 10.

```java
int iter_While = 0;
while (iter_While < 10)
{
System.out.print (iter_While + " ");
// Increment the counter
// Iterated 10 times, iter_While 0,1,2...9
:pencil: read more about java loops types while on the FCC Wiki

evaristoc
@evaristoc
May 03 2016 11:05
@abhisekp @theflametrooper Can please someone check the above false positive of the camperbot? This is totally incorrect....
Abhisek Pattnaik
@abhisekp
May 03 2016 11:06
@evaristoc how did that happen?
:+1:
nope!
?
evaristoc
@evaristoc
May 03 2016 11:06
Weird...
Going to camperbot...
Abhisek Pattnaik
@abhisekp
May 03 2016 11:06
?
evaristoc
@evaristoc
May 03 2016 11:06
room..
Abhisek Pattnaik
@abhisekp
May 03 2016 11:06
k :+1:
Daniel
@profoundhub
May 03 2016 14:25
@krisgesling there seems to be an Unexpected token ) around line 122 -123 of your Gender World Map
Kris Gesling
@krisgesling
May 03 2016 14:39
Oops thanks @profoundhub that was me running out of the house and trying to punch in some pseudocode for "what's next", was just an incomplete if statement. Should be fixed now
CamperBot
@camperbot
May 03 2016 14:39
krisgesling sends brownie points to @profoundhub :sparkles: :thumbsup: :sparkles:
:cookie: 352 | @profoundhub |http://www.freecodecamp.com/profoundhub
Daniel
@profoundhub
May 03 2016 15:29
@krisgesling ... it's alive! and it looks good :+1:
Chuah Chee Shian
@shian48263
May 03 2016 19:19
Has anyone heard about Dataquest.io? What do you guys think about it?
Eric Leung
@erictleung
May 03 2016 19:38
@shian48263 I haven't heard of it before so I can't really comment on it. Have you started it?
Chuah Chee Shian
@shian48263
May 03 2016 19:40
@erictleung Yea! Im now working on data visualisation. Not D3.js. Everything there is Python 3.
Eric Leung
@erictleung
May 03 2016 19:42
@shian48263 ah I see. Looks pretty comprehensive nonetheless!
Chuah Chee Shian
@shian48263
May 03 2016 19:44
@erictleung Just hope to find if any camper learn there so that we can form a team. XD
Quincy Larson
@QuincyLarson
May 03 2016 20:17
Kristin Drysdale
@kymanikd
May 03 2016 20:17
@QuincyLarson SUPER! Thanks!
CamperBot
@camperbot
May 03 2016 20:17
kymanikd sends brownie points to @quincylarson :sparkles: :thumbsup: :sparkles:
:star2: 1127 | @quincylarson |http://www.freecodecamp.com/quincylarson
Zac Cassini
@zcassini
May 03 2016 20:32
@QuincyLarson Congratulations to you and all those who helped you get that done. Its a huge accomplishment.
Chikumbutso Ojesi
@psuedoCode
May 03 2016 20:46
hello world
CamperBot
@camperbot
May 03 2016 20:46

welcome to FreeCodeCamp @psuedoCode!

Zac Cassini
@zcassini
May 03 2016 20:50
@psuedoCode welcome!
Quincy Larson
@QuincyLarson
May 03 2016 21:00
@zcassini @kymanikd thank you for your kind words!
CamperBot
@camperbot
May 03 2016 21:00
quincylarson sends brownie points to @zcassini and @kymanikd :sparkles: :thumbsup: :sparkles:
:cookie: 19 | @kymanikd |http://www.freecodecamp.com/kymanikd
:cookie: 407 | @zcassini |http://www.freecodecamp.com/zcassini
Quincy Larson
@QuincyLarson
May 03 2016 21:00
@psuedoCode welcome to our community :)
@psuedoCode by the way, are you aware that you misspelled pseudocode in your username? You can fix this on GitHub.
Zac Cassini
@zcassini
May 03 2016 21:01
@QuincyLarson its a pseudo spelling?
Kristin Drysdale
@kymanikd
May 03 2016 21:02
LOL!!!!
Quincy Larson
@QuincyLarson
May 03 2016 21:20
@psuedoCode are you interested in helping us with our data visualizations? :)
Akif
@ozkoc
May 03 2016 21:30
Hello Quincy, good job with the survey. @QuincyLarson
Marie
@codengraphix
May 03 2016 21:47
Survey is informative
Sudeep Narkar
@sudeepnarkar
May 03 2016 22:22
@QuincyLarson Great job with the recent survey Quincy!
nitisha8086
@nitisha8086
May 03 2016 22:56
very informative
Kris Gesling
@krisgesling
May 03 2016 23:24
@QuincyLarson I'm also really impressed with how many countries are represented in the survey, you have built such an incredible community here, congratulations!
Joey Buczek
@joeybuczek
May 03 2016 23:51
@QuincyLarson Are you using the "Network ID" as the unique identifier between the two .csv data sets? If so, it appears that of the 15653 entries, 15211 are unique
and are you simply taking that into account for individuals that may simply have completed the survey twice, or two or more people who completed the survey on the same machine?
Eric Leung
@erictleung
May 03 2016 23:54
@joeybuczek the first column is the unique identifier, the one with really long strings.
Joey Buczek
@joeybuczek
May 03 2016 23:55
right, but how is that tying the two csv files together?
the two files seem to represent two sets of questions, not more of the same question
Eric Leung
@erictleung
May 03 2016 23:58
@joeybuczek part two has all the results from the first part, but the second part has demographic info as well. You need to link the two files together because otherwise you won't have demographic information.