Skip to content

For analysts and developers

Georgia data in R and Python

Two free packages bring every Georgia Civic Data dataset into your analysis as a data frame. Both read the same API as the rest of this site, need no API key or sign-up, and share the same functions.

R

georgiacivicdata

Returns tibbles, and school attendance zones and district boundaries as sf objects, ready to map. Every function starts with gcd_, such as gcd_search() and gcd_rows(). Install it from CRAN:

install.packages("georgiacivicdata")

Python

georgiacivicdata

Returns pandas data frames, or Polars ones if you ask, and school attendance zones and district boundaries as geopandas GeoDataFrame objects. Its functions match the R package’s without the prefix, such as gcd.search() and gcd.rows(). Install it from PyPI:

pip install georgiacivicdata

Add Polars and geopandas with the extras:

pip install "georgiacivicdata[polars,geo]"

What both packages do

  • Find datasets. Search the catalog in plain words, or list it all.
  • Read the documentation. See each dataset’s columns, units, source, and limits before you download it.
  • Get rows with consistent types. Filter by year, place, and group. Codes stay text so leading zeros survive, years are integers, and rates are proportions between 0 and 1.
  • Use names, not codes. Filter by a school, district, or county name; every row carries the name beside the code.
  • Map school zones and locate places. Get attendance zones and district boundaries, and find the county, census tract, school district, and zoned schools for a point or street address.
  • Cite the data. Write the credit line for any result.

Prefer to work without a package? The API serves the same data as JSON, CSV, or Parquet.

For AI agents

Every page of both documentation sites has a Markdown version: add .md to its address. Each site also has an index for agents: R llms.txt and Python llms.txt.

License

The packages’ code is MIT-licensed. The data they return is licensed CC BY 4.0: credit Georgia Civic Data and the original source. gcd_citation() in R and gcd.citation() in Python write the credit line for you. How to credit us.