2016-new-coder-survey icon indicating copy to clipboard operation
2016-new-coder-survey copied to clipboard

Participants per region/continent?

Open ghost opened this issue 8 years ago • 8 comments

In North America could even participants per state. This would be very interesting in general. Would allow to know the approximate percentage of people on any given region who are learning to code with FCC.

ghost avatar May 06 '16 03:05 ghost

I tried to extract salary information with the awk below. Seems to be about right.

#!/bin/awk -f

BEGIN {
  FS=","
  TOT=0
  MIN=1000000
  SUM=0
}

 /[0-9]{5,6}/ {
  for (i=1;i<NF;i++) {
    if($i ~ /^[0-9]{5,6}$/) {
      MIN = ( $i < MIN ) ? $i : MIN
      MAX = ( $i > MAX ) ? $i : MAX
      SUM += $i
      TOT++
    }
  }
}

END {
  printf("Min salary: $%.2f\n", MIN)
  printf("Max salary: $%.2f\n", MAX)
  printf("Avg salary: $%.2f\n", SUM/TOT)
}

georgeanderson avatar May 10 '16 04:05 georgeanderson

@georgeanderson thanks a lot! I think that your post should be somewhere else though... Could you please find a question that better correspond to your comment and post your code there again? You can also open an issue suggesting an enhancement.

evaristoc avatar May 10 '16 08:05 evaristoc

this could be a good question to respond

evaristoc avatar May 10 '16 08:05 evaristoc

Can be done only by country at #2

SamAI-Software avatar May 13 '16 11:05 SamAI-Software

@AndrsDC thanks for posting your question here. Unfortunately we don't have data about specific states. Won't you mind to either re-state your question or closing this issue otherwise?

We will keep this issue open only for this weekend if we don't get any reply from you.

Thanks!

evaristoc avatar May 13 '16 13:05 evaristoc

@evaristoc @SamAI-Software Thank you for the response. I think the first reply satisfies the question. I do think we can go ahead and close this issue now. Sorry for the delayed reply.

ghost avatar May 13 '16 13:05 ghost

Good suggestion @AndrsDC. Can't do the states but I've added aggregates of the continents. At the moment it's just displayed as a split bar but will change that to something that makes more sense for the data that it is. Pie graph maybe? Pie graph feels boring but it does the job. http://krisgesling.github.io/FCC-Gender-Map/

krisgesling avatar Jun 15 '16 02:06 krisgesling