Giter VIP home page Giter VIP logo

fips-to-gnis's People

Contributors

jungshadow avatar waldoj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fips-to-gnis's Issues

Fix federal codes file download

Hi @waldoj! When I saw you post about this project a few years back, I never forgot about it because I loved the idea. I'm hoping to put a bit of time into it as it as a static file API with this data could be generally useful to our work.

In trying to run it, I noticed that the download link in get_file.sh needs to be updated to reflect the new website structure. The new download link is on this page. I have a pull request ready to go for the fix—and the result of updating the file—if you're interested and still using/updating this.

Turn this into an API

  • write a script that explodes the CSV file into 199,760 JSON files (one per line)
  • write another script that transfers these files to S3
  • set up a CloudFront distribution
  • register a domain name
  • set up a cron job that will update the files periodically

Generate API files bidirectionally

Right now, we're creating a file for each GNIS ID, but not for each FIPS code, which is to say that this is useful for FIPS -> GNIS, but not GNIS -> FIPS. I'm not sure whether any GNIS IDs are identical to any FIPS codes. If not, then they can live side by side. But if they are, then we need to namespace the files, e.g. /gnis/12345.json.

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.