# uscensusbureau/citysdk

Convenient JavaScript utilities for working with Census APIs: Statistics, Cartographic GeoJSON, lat/lng -> FIPS, and other niceties (written in ClojureScript)

Repository: https://github.com/uscensusbureau/citysdk
Canonical: https://ross.abutalabs.com/products/citysdk
Homepage: https://uscensusbureau.github.io/citysdk
Language: Clojure
License: MIT
License Family: permissive
Archived: true
Last push: 2026-06-10T13:22:53+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 86, release rhythm 8, longevity 100
- inputs: {"age_days": 4230, "days_push": 84, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1038, forks 181 (observed 2026-08-28T04:03:19.592097+00:00)

## What it is
CitySDK is a JavaScript (ClojureScript-compiled) library that simplifies access to US Census Bureau APIs, providing utilities for fetching statistics, cartographic GeoJSON, and lat/lng-to-FIPS geocoding. It works in both browser and Node.js environments and ships as an ESM module.

## Use cases
- fetch US Census statistics like ACS5 population data in JavaScript
- get cartographic GeoJSON boundaries for census geographies
- convert latitude/longitude coordinates to FIPS codes
- build choropleth maps with Leaflet or Mapbox using census data
- query census data by vintage year and geographic hierarchy
- create D3.js visualizations from census statistics
- integrate census data into frontend or backend JavaScript apps

## When to choose
- you need a convenient wrapper around the US Census Data API in JavaScript
- you want combined statistics and GeoJSON for mapping census data
- you need lat/lng to FIPS geocoding without extra services

## When to avoid
- you need actively maintained software - the repository is archived and unmaintained
- you need pre-2.3 client-side CORS proxying, which no longer works
- you require production support or security patches
- you work outside JavaScript/Node.js ecosystems

## Facets
- artifact type: library
- maturity: abandoned
- function: http-client, data-science, geospatial
- domain: data-science, apis, developer-tools
- platform: browser
- tags: us-census, census-api, clojurescript, geo, fips, demographics, esm, archived, maps, nodejs, javascript

## Member repositories
- uscensusbureau/citysdk (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:19.592097+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:04:19.555417+00:00, confidence not recorded.
  - readme: https://github.com/uscensusbureau/citysdk (fetched 2026-08-28T04:03:19.592097+00:00, sha 63dcce77be9f)
  - homepage: https://uscensusbureau.github.io/citysdk (fetched 2026-08-29T13:05:01.938557+00:00, sha 126f646cac5e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
