2016-new-coder-survey
2016-new-coder-survey copied to clipboard
Participants per region/continent?
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.
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 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.
this could be a good question to respond
Can be done only by country at #2
@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 @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.
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/