Git Product home page Git Product logo

Comments (9)

knaaptime avatar knaaptime commented on June 15, 2024

thats a good point. The shape data come directly from census, but the table that osnap refers to as cbsa is the county crosswalk, probably from here

from geosnap.

knaaptime avatar knaaptime commented on June 15, 2024

rather than storing the CBSA crosswalk, it might be better to just read it directly when necessary (like we do with the inflation table)

the benefits would be

  1. the documentation is implicit since the URL defines the original source (though we'd want to document explicitly as well)
  2. we could provide methods for users to call MSAs as defined in other years

2019 cbsa-county definitions

from geosnap.

sjsrey avatar sjsrey commented on June 15, 2024

And an older source for 2003 cbsa definitions

from geosnap.

knaaptime avatar knaaptime commented on June 15, 2024

workflow:

  1. store "appropriate version in osnap repo
  2. when user calls a dataset, osnap checks the canonical dataset by downloading from the URL
  3. osnap checks to see whether stored version matches canonical version
  4. if versions don't match, raise a warning, etc.

from geosnap.

knaaptime avatar knaaptime commented on June 15, 2024

if we're checking the dataset integrity with each use, is there any real use in caching it?

from geosnap.

knaaptime avatar knaaptime commented on June 15, 2024

https://github.com/quiltdata/open-data-registry

from geosnap.

knaaptime avatar knaaptime commented on June 15, 2024

we should use this source. It might be best to always grab from the web like we do for the inflation adjustment table, though this would be used more and more prone to failure if the census api goes down. That would also mean you always need an internet connection to make MSA queries

from geosnap.

knaaptime avatar knaaptime commented on June 15, 2024

should be resolved by #215 but give it a look

from geosnap.

knaaptime avatar knaaptime commented on June 15, 2024

https://spatialucr.github.io/geosnap/data.html

from geosnap.

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.