Skip to content

student: round out the Kyle Walker mapping toolkit (mapgl, crsuggest, idbr)#15

Merged
davidkane9 merged 1 commit into
mainfrom
add-walker-stack
Jul 2, 2026
Merged

student: round out the Kyle Walker mapping toolkit (mapgl, crsuggest, idbr)#15
davidkane9 merged 1 commit into
mainfrom
add-walker-stack

Conversation

@davidkane9

Copy link
Copy Markdown
Contributor

Adds the remaining course-relevant Kyle Walker packages to the student image:

  • mapgl — WebGL vector maps (MapLibre/Mapbox GL htmlwidgets). Token-free via maplibre() + CARTO styles; publishes to GitHub Pages like the other htmlwidgets.
  • crsuggest — suggests the right projected CRS for a dataset.
  • idbr — Census International Data Base; uses the same Census API key students already need for tidycensus.

mapboxapi deliberately excluded (per-student Mapbox account/token required). Smoke test extended to load all six mapping packages.

Validation build on this branch: green across base/dev/student — https://github.com/PPBDS/devcontainers/actions/runs/28608205412

🤖 Generated with Claude Code

… idbr)

mapgl gives WebGL vector maps (MapLibre) with no token via maplibre() +
CARTO styles — the NYT look as an htmlwidget that publishes to GitHub
Pages. crsuggest answers the CRS-choice question in one function. idbr
adds Census International Data Base access using the same Census API key
students already need for tidycensus. mapboxapi deliberately excluded:
it would require a per-student Mapbox account/token.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 2, 2026 17:15
@davidkane9
davidkane9 merged commit 4fadfa8 into main Jul 2, 2026
4 checks passed
@davidkane9
davidkane9 deleted the add-walker-stack branch July 2, 2026 17:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands the student devcontainer image’s R mapping/census capabilities by adding the remaining course-relevant Kyle Walker ecosystem packages and updating documentation to match. It complements the existing sf/tidycensus setup and extends the Dockerfile smoke test to ensure the full mapping toolkit loads successfully.

Changes:

  • Install additional R packages in the student image: mapgl, crsuggest, and idbr (alongside sf and tidycensus).
  • Extend the Docker build smoke test to load all mapping-related packages (sf, tidycensus, tigris, mapgl, crsuggest, idbr).
  • Update README and CLAUDE documentation to describe the expanded mapping toolkit and the intentional exclusion of mapboxapi.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
student/Dockerfile Installs mapgl, crsuggest, idbr and expands the mapping smoke test package-load list.
README.md Updates the student image feature list to include the added Kyle Walker mapping packages.
CLAUDE.md Updates the student/ image documentation to reflect the expanded mapping/census stack and rationale.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants