{"id":24698587,"url":"https://github.com/faradayio/censusapi2csv","last_synced_at":"2026-05-20T10:11:37.530Z","repository":{"id":27267444,"uuid":"112376287","full_name":"faradayio/censusapi2csv","owner":"faradayio","description":"A tool for downloading Census/ACS data from the API and parsing to CSV","archived":false,"fork":false,"pushed_at":"2022-12-09T17:48:40.000Z","size":24,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-27T23:11:11.507Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/faradayio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-28T18:58:01.000Z","updated_at":"2024-07-12T09:35:11.000Z","dependencies_parsed_at":"2023-01-14T06:20:52.236Z","dependency_job_id":null,"html_url":"https://github.com/faradayio/censusapi2csv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faradayio%2Fcensusapi2csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faradayio%2Fcensusapi2csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faradayio%2Fcensusapi2csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faradayio%2Fcensusapi2csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faradayio","download_url":"https://codeload.github.com/faradayio/censusapi2csv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244902936,"owners_count":20529114,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-27T04:29:24.749Z","updated_at":"2026-05-20T10:11:37.474Z","avatar_url":"https://github.com/faradayio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# censusapi2csv\nA tool for downloading Census/ACS data from the API and parsing to CSV\n\n### Installation\n`npm install censusapi2csv -g`\n\n### Usage\n`censusapi2csv -f \u003ccensus field codes\u003e`\n\n### Arguments\n* `-f, --fields` (_REQUIRED_) Comma-separated list of [desired ACS fields](https://api.census.gov/data/2017/acs/acs5/variables.html) or [decennial census fields](https://api.census.gov/data/2010/sf1/variables.html) (e.g. `B01001` = Total population)\n* `-e, --endpoint` (_OPTIONAL_) Desired endpoint, one of `acs` (American Community Survey) or `dc` (Decennial Census); default = `acs`\n* `-l, --level` (_OPTIONAL_) Geographic level of desired results, one of `state`, `county`, `place`, `county subdivision`, `zip code tabulation area`, `tract`, `block group`, or `block`. (default: 'state')\n* `-o, --out` (_OPTIONAL_) Output filename and path if desired. Default is to STDOUT.\n* `-k, --key` (_OPTIONAL_) Census [API key](https://api.census.gov/data/key_signup.html) (limited use without one)\n* `-s, --state` (_OPTIONAL_) FIPS code of a state to which you want the request restricted (e.g. '06' = California)\n* `-c, --county` (_OPTIONAL_) FIPS code of a county to which you want the request restricted (e.g. '007' = Chittenden county, within Vermont)\n* `-y, --year` (_OPTIONAL_) Census or ACS year (defaults: Census = `2010`, ACS = `2017`) - (_Extra parenthetical notes on Census 2000: ZCTA level is not supported, and [there's a different suite of codes](https://api.census.gov/data/2000/sf1/variables.html)_)\n\n### Notes\n* Some request levels must be restricted by state or county. For example, the `block group` level will only be returned if both state and county are specified\n\n### License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaradayio%2Fcensusapi2csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaradayio%2Fcensusapi2csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaradayio%2Fcensusapi2csv/lists"}