Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Participants per region/continent? #30

Open
ghost opened this issue May 6, 2016 · 8 comments
Open

Participants per region/continent? #30

ghost opened this issue May 6, 2016 · 8 comments
Labels

Comments

@ghost
Copy link

ghost commented May 6, 2016

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.

@SamAI-Software
Copy link
Member

@georgeanderson
Copy link

georgeanderson commented May 10, 2016

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)
}

@evaristoc
Copy link
Collaborator

evaristoc commented May 10, 2016

@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
Copy link
Collaborator

this could be a good question to respond

@SamAI-Software
Copy link
Member

SamAI-Software commented May 13, 2016

Can be done only by country at #2

@evaristoc
Copy link
Collaborator

@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!

@ghost
Copy link
Author

ghost commented May 13, 2016

@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.

@krisgesling
Copy link
Contributor

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/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants