2.0.0 • Published 3 years ago

@njam-data/nj-census-2020 v2.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

@njam-data/nj-census-2020

Install

npm i @njam-data/nj-census-2020

Usage

2020 population totals

import { getPopulation } from '@njam-data/nj-census-2020'

const statePopulation = await getPopulation({ dataset: 'state' })
const countyPopulations = await getPopulation({ dataset: 'county' })
const countySubdivisionPopulations = await getPopulation({ dataset: 'county_subdivision' })
const placePopulations = await getPopulation({ dataset: 'place' })
const tractPopulations = await getPopulation({ dataset: 'tract' })

Census data

import { getData } from '@njam-data/nj-census-2020'

const stateData = await getData({ dataset: 'state' })
const countyData = await getData({ dataset: 'county' })
const countySubdivisionData = await getData({ dataset: 'county_subdivision' })
const placeData = await getData({ dataset: 'place' })
const tractData = await getData({ dataset: 'tract' })

Data

  • County subdivision 2010/2020 comparison files in JSON and CSV

Source

https://biglocalnews.org / AP, based on PL_94 redistricting files from the Census

2.0.0

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.2.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago