Counties for your state, like Louisiana's parishes

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
github, javascript, node.js

Research direction

Start with src/parishes.mjs and how scripts/build.mjs aggregates parish data, then inspect the matching template and scripts/collect.mjs select() logic. Run npm run data and npm run build, and open site/leaderboard.html to check the result. Done means one state's county data appears with towns, cities, universities, people, contributions, and the busiest person, with collection volume considered against the API budget in docs/data.md.

Written by the indexing model from the issue text.

Description

enhancement help wanted

Louisiana goes down to the parish: every parish's people, contributions, and busiest person. The same would be great for any state.

What to build

  • For one state you know: a list of its counties and the towns, cities, and universities in each, following src/parishes.mjs.
  • Aggregation in scripts/build.mjs (see how parishes is built) and a view in the template like "Louisiana, by parish".
  • Ideally, generalise the parish code so adding a state is just adding a data file.

Note: county detail only means much where many people are looked up. Louisiana looks up everyone active; other states look up 80. A state with counties may want the same (see select() in scripts/collect.mjs), within the daily run's API budget (docs/data.md).

Getting started: npm run data, then npm run build, then open site/leaderboard.html. No dependencies; see CONTRIBUTING.md.

Dominant language
JavaScript
Stars
0
Forks
0
Avg merge
1m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from wbp318/github-leaderboard

All issues in wbp318/github-leaderboard

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.