Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    [Vivek Nair, U.S. Census Bureau] Gotcha @Logan Powell and @Zhi Keng He - B19013_001E definitely seems much more reasonable
    [Vivek Nair, U.S. Census Bureau] and yep! geoResolution is suer handy
    [Vanessa, U.S. Census Bureau] Good Morning! I'm doing a project for school and needed to get some Census data to complete it. I'm new to API's and have a beginners knowledge of python. Can I access median household incomes for a set of zip-codes? And potentially any other information of the demographics in that neighborhood?
    [Othello, U.S. Census Bureau] Hi I am new to the Slack team but have been working with Census API with R for some time now. It look like CitySDK could add some value to some projects. However, after downloading JavaScript SE 13, which code editor is popular (NetBeans, Eclipse, or Intellij) or any other suggestions? Thanks
    Chuck Mason
    Hi: I have been using the factfinder.census.gov api ((factfinder.census.gov/rest/addressSearchController/search) to get the county, county subdivision and school district for a given address. Factfinder is ending in March. How do I get this information in data.census.gov?
    Logan Powell
    @DcMasonjr_twitter I'm not sure you can do geocoding with data.census.gov, perhaps email cedsci.feedback@census.gov about this
    Justin Larson
    hi, new to room, relatively novice with APIs. Please bear with me. Can someone direct me to how to pull reference data from the API such as just a list of geographies and their IDs, and variable code+description, so I can navigate a little easier?
    Justin Larson
    found the variables and names I was looking for (https://api.census.gov/data/2018/acs/acs1/profile/variables.json) still looking for a fips list with actual ids. Closest I found was the geography levels, but no the tuple ids themselves (https://api.census.gov/data/2018/acs/acs1/profile/geography.json)
    Logan Powell
    @LiverLarson_twitter do you need to target a specific geographic area or are you looking for all the geographic areas of a certain level?
    Justin Larson
    @loganpowell : specific geographies at specific levels. So I need id's to, for example, filter to Washington and Oregon at state levels, but also need the id's to filter for Portland urban area and Seattle Urban areas as well. I know you can just run with [geography]:* to return everything.
    Logan Powell
    @LiverLarson_twitter there are a few ways you can go about getting the proper FIPS codes arguments to the for parameter:
    1. you can make a wildcard call for a parent geo, e.g., tracts in a FIPS you know, e.g., Alabama (state) like this:
      then use the tract FIPS from that result to make deeper calls
    2. if you need a specific geos FIPS for an address, you can use our geocoder:
      https://geocoding.geo.census.gov/geocoder/ (Caveat: this is a single server and shouldn't be counted on in production)
    3. if you can get the lat/lng coordinates for the specific location from a third-party (e.g., Open Street Maps/Google), you can use our Tigerweb Web Mapping Service. Here are some docs for that:
    4. if you know JavaScript, we have an SDK: https://github.com/uscensusbureau/citysdk/
    Justin Larson
    @loganpowell thanks for pointers. Good stuff. I look forward to digging deeper. Lots of irons in the fire, so I'll have to come back to this probably in a few weeks. Also got in touch with Census data support people who pointed me to https://www2.census.gov/geo/docs/reference/codes/ and https://www.census.gov/library/reference/code-lists/ansi.html
    Hey generous people, I am not asking you to do the work for me, just hoping you can point me in the right direction: I am trying to get the racial distribution of every city where a police officer killed a citizen. I have all the cities and states in a table and have been struggling to get the population densities only. Any help?
    Logan Powell
    Mauro Dutra
    Hello everyone!
    I work on the https://datadashboard.fda.gov/ora/index.htm project. We are looking for a simple API to use our addresses zipcodes and get a response with geolocation data. Can anyone please tell me if the citysdk is a good place to start? Thank you!
    Logan Powell
    @mdutra555 you can see what the CitySDK can do for you here: https://uscensusbureau.github.io/citysdk/
    Adrian Coroian
    Hello everyone, just wondering what is the request limit using citySDK? for an api key?
    Logan Powell
    @acoroian without a key, you can make <500 requests per day
    with a key, it's relatively unlimited
    Adrian Coroian
    Fei Yang
    Hi I wanted to use USCensus to pull information for mayors, (age, race, name, and gender) for 20 most populated cities for the past 50 years. Is that in the scope of data in census.gov?
    I saw that another website used census.gov to pull data for most populated 30 cities, but it was only for one year
    Srichakradhar Reddy Nagireddy
    Hi everyone! I have been working towards a community based research in our University. I'm searching for census data based on neighborhoods (especially Kansas City, MO - like Ivanhoe-Southeast (54), South Hyde Park(78), etc..). But, I couldn't find it anywhere. Could you please direct me? :eyes:
    Sam Butler

    Hey all, my name is Sam. I'm just getting started with #citysdk for some GIS mapping, and I'm encountering something unexpected.

    I'm trying to achieve the following functionality:

    When a user clicks on the mapbox Map, take the coordinates of the click, and return the census tract containing that click as well as a geojson polygon with the census tract boundaries.

    When I run the following code:

    census( { vintage: "2017", geoHierarchy: { tract: { lat: e.lngLat.lat, lng: e.lngLat.lng } } }, function(error, response) { console.log(response); } );

    The response successfully returns the census tract of the lat / long point.

    However, when I add geoResolution to the codeblock to get a geojson response:

    census( { vintage: "2017", geoHierarchy: { tract: { lat: e.lngLat.lat, lng: e.lngLat.lng } }, geoResolution: "500k" }, function(error, response) { console.log(response); } );

    The response is a multipolygon of every census tract in the entire state of the coordinate point.

    Can someone help me adjust my code so that the response is just a polygon featuring the census tract of the coordinate point?

    We used the below code and received the census details properly. Now the response is nullcensus(
    vintage: "2019",
    geoHierarchy: {
    county: {
    lat: $('#temp_lat').val(),
    lng: $('#temp_lng').val()
    sourcePath: [
    values: [
    statsKey: apikey
    function(error, response) {
    Please help us to resolve it
    Logan Powell

    @idealtraits-dev we no longer frequent this chat. Please follow up on our Slack:
    https://join.slack.com/t/uscensusbureau/shared_invite/zt-optzh7xs-ApNgf5Yqbo_u2ANXQv67cQ (#citysdk channel)

    in the meantime, if I'm correct in assuming that your error is caused by out geocoding services being buggy for 2019, the team is actively working on a fix.

    Austin Witherow