Code Monkey home page Code Monkey logo

Comments (5)

bransonf avatar bransonf commented on August 14, 2024

Thanks for opening an issue @plnnr ,

All that I can speculate is that your data returns a non-standard response from the Census bureau's API at some point. This specific error occurs because the response does not have a column containing the original address.

Would it be possible to provide a sample of your data?

Alternatively, if you are able to split the data yourself and send smaller batches, you could ensure that progress isn't lost also while helping locate the problem data.

from censusxy.

plnnr avatar plnnr commented on August 14, 2024

I ended up splitting the data, and there were no errors strangely (even though the subsets contained all of the records as the more massive pull). I am unable to provide a sample because it's sensitive/personal data (voter registration records). Although splitting worked, it doesn't make sense why.

from censusxy.

chris-prener avatar chris-prener commented on August 14, 2024

Curious, @plnnr. What sized chunks did you split the data into?

from censusxy.

plnnr avatar plnnr commented on August 14, 2024

@chris-prener My data had ZIP codes, so I split on that. Each ZIP code had 17k to 37k records.

from censusxy.

chris-prener avatar chris-prener commented on August 14, 2024

Gotcha. Yeah, this seems like some kind of non-standard API response, perhaps due to a timeout and perhaps due to the volume of records you're looking at. Either way, I'm glad it worked with splitting via zip code! I'm going to go ahead and close this now since the package itself appears to be performing as expected.

from censusxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.