jared pushed to master at Civilytics/civilyticsR 2026-08-09 13:53:16 -04:00
6051e4bb5c Remove vendored headshots and add proportion CI tests
jared commented on issue Civilytics/uscogdata#58 2026-08-09 13:49:19 -04:00
Accept state=/type= predicates on the money verbs instead of a 40k-id IN list

Implementation notes (from the profiling above)

Where the IN list is built today

  • .sql_lit_chr() — R/spending.R:737. Renders 'a','b',...; harmless in itself.
  • .build_verb_sql()…
jared closed issue Civilytics/uscogdata#59 2026-08-09 13:48:35 -04:00
cog_geographic_rollup(): push aggregation and pagination into SQL
jared commented on issue Civilytics/uscogdata#59 2026-08-09 13:48:34 -04:00
cog_geographic_rollup(): push aggregation and pagination into SQL

Closing in favour of #58, which is where the rollup win actually is.

Profiling (detail in the comment above) showed this issue targets ~1% of the runtime: the many-to-many left_join is 6 ms…

jared commented on issue Civilytics/uscogdata#58 2026-08-09 13:46:20 -04:00
Accept state=/type= predicates on the money verbs instead of a 40k-id IN list

Measured: this is worth more than the issue claims, and it is the fix for #59 too

Same aggregate over the 20,106-government type = city cohort (FY2022), with the cohort expressed four ways…

jared commented on issue Civilytics/uscogdata#59 2026-08-09 13:46:20 -04:00
cog_geographic_rollup(): push aggregation and pagination into SQL

Measured before implementing, and the premise here does not hold

This issue proposes moving the aggregation and crosswalk join into SQL, on the theory that "the many-to-many join is the part…

jared opened issue Civilytics/uscogdata#60 2026-08-09 11:21:17 -04:00
Let cog_open() cap DuckDB threads (USCOGDATA_DUCKDB_THREADS)
jared opened issue Civilytics/uscogdata#59 2026-08-09 11:21:16 -04:00
cog_geographic_rollup(): push aggregation and pagination into SQL
jared opened issue Civilytics/uscogdata#58 2026-08-09 11:20:44 -04:00
Accept state=/type= predicates on the money verbs instead of a 40k-id IN list
jared opened issue Civilytics/uscogdata#57 2026-08-09 11:20:43 -04:00
Add limit/offset to cog_gov_search() and cog_balances()
jared commented on issue Civilytics/uscogdata#56 2026-08-09 11:20:11 -04:00
Performance pass over the reader before final release

Evidence from the cog-api side: the overhead is remote I/O, not compute

While doing a performance pass on cog-api (which is a thin wrapper over these verbs), I measured the same call shapes…

jared closed issue Civilytics/uscogdata#46 2026-08-09 09:20:27 -04:00
Release 6/11: multi-OS R CMD check on GitHub Actions
jared commented on issue Civilytics/uscogdata#46 2026-08-09 09:20:27 -04:00
Release 6/11: multi-OS R CMD check on GitHub Actions

@/tmp/claude-1000/-home-jared-Nextcloud-Civilytics-Code-Civilytics-cog-explorer/4bbb145c-ac06-4d88-84be-1e596655c718/scratchpad/c46.md

jared closed issue Civilytics/uscogdata#45 2026-08-09 09:20:27 -04:00
Release 5/11: Gitea Actions mirror workflow (non-force push)
jared commented on issue Civilytics/uscogdata#45 2026-08-09 09:20:27 -04:00
Release 5/11: Gitea Actions mirror workflow (non-force push)

@/tmp/claude-1000/-home-jared-Nextcloud-Civilytics-Code-Civilytics-cog-explorer/4bbb145c-ac06-4d88-84be-1e596655c718/scratchpad/c45.md

jared commented on issue Civilytics/uscogdata#44 2026-08-09 09:19:58 -04:00
Release 3/11: create the public GitHub mirror repo

@/tmp/claude-1000/-home-jared-Nextcloud-Civilytics-Code-Civilytics-cog-explorer/4bbb145c-ac06-4d88-84be-1e596655c718/scratchpad/c44.md

jared commented on issue Civilytics/uscogdata#48 2026-08-09 09:19:58 -04:00
Release 4/11: verify jared@civilytics.com on the GitHub account

@/tmp/claude-1000/-home-jared-Nextcloud-Civilytics-Code-Civilytics-cog-explorer/4bbb145c-ac06-4d88-84be-1e596655c718/scratchpad/c48.md

jared commented on issue Civilytics/uscogdata#43 2026-08-09 09:19:57 -04:00
Release 2/11: make the Gitea repo public, disable its issues

@/tmp/claude-1000/-home-jared-Nextcloud-Civilytics-Code-Civilytics-cog-explorer/4bbb145c-ac06-4d88-84be-1e596655c718/scratchpad/c43.md

jared closed issue Civilytics/uscogdata#43 2026-08-09 09:19:57 -04:00
Release 2/11: make the Gitea repo public, disable its issues
jared opened issue Civilytics/uscogdata#56 2026-08-09 09:18:47 -04:00
Performance pass over the reader before final release