Annual Population Estimates for New York State and Counties: Beginning 1970

Usage guide

Resident population of New York State and counties produced by the U.S.

Records
3,906
Columns
5
Version
1.0.0
License
NY Open Data Terms of Use

Curated by

· Updated November 27, 2026

Original source: Labor, Department of (data.ny.gov)

Copy-paste recipes for loading Annual Population Estimates for New York State and Counties: Beginning 1970 into the tools engineers actually use. Every URL below is live and stable.

Quick start

Python (pandas)

import pandas as pd

df = pd.read_csv("https://intellectunited.com/datasets/annual-population-estimates-for-new-york-state-and-counties/data.csv")

# Summary statistics for every numeric column
print(df.describe())

# Top 10 rows by fips_code
print(df.sort_values("fips_code", ascending=False).head(10))

JavaScript (fetch the REST API)

const response = await fetch('https://intellectunited.com/api/v1/datasets/annual-population-estimates-for-new-york-state-and-counties/records?per_page=100')
const { data, meta } = await response.json()

console.log(`Loaded ${data.length} of ${meta.total} records`)
console.log(data[0])

cURL

# Dataset metadata and schema
curl -s https://intellectunited.com/api/v1/datasets/annual-population-estimates-for-new-york-state-and-counties

# Search records
curl -s "https://intellectunited.com/api/v1/datasets/annual-population-estimates-for-new-york-state-and-counties/records?search=example&per_page=25"

# Full download
curl -sLO https://intellectunited.com/datasets/annual-population-estimates-for-new-york-state-and-counties/data.csv

SQL (SQLite)

-- sqlite3 annual_population_estimates_for_new_york_state_and_counties.db
.mode csv
.import data.csv annual_population_estimates_for_new_york_state_and_counties

SELECT fips_code, fips_code
FROM annual_population_estimates_for_new_york_state_and_counties
ORDER BY CAST(fips_code AS REAL) DESC
LIMIT 10;

R

df <- read.csv("https://intellectunited.com/datasets/annual-population-estimates-for-new-york-state-and-counties/data.csv")
summary(df)

Working with the schema

Column names in the CSV keep their original headers (with units in parentheses). The JSON API and data.json use the snake_case keys listed in the data dictionary, with numbers already cast to numeric types. datapackage.json describes the same schema in the Frictionless Data format, so tools like frictionless, pandas and DuckDB can validate it automatically.

Validate the packagebash
pip install frictionless
frictionless validate https://intellectunited.com/datasets/annual-population-estimates-for-new-york-state-and-counties/datapackage.json

Cite the data you use

If this dataset helps your work, please cite it. The citation page has APA-style text, BibTeX and CITATION.cff, and always credits the original publisher.

Previous
Statistics