Open lovehandle opened 11 years ago
I'd like to think this through a little more and write out some clear steps to have in mind for what this looks like.
Right now these are three fairly static data sets:
Between each of these, something needs to determine the relationship between the two. Are mappings manually created by an administrator user? Or is there a way to use secondary data sets to create a "lookup table"?
In my mind, one way to use data and keep the manual data interaction as small as possible is to look at what's currently existing and using it to draw some conclusions. We have a fairly recent data set somewhere (I'll have to find it again) which can actually tell us that most NAICS codes 519210's are classified as an A25 business category (or something like this). I have to think through this a little bit more but I'd like to know what you think of this idea.
@louh
Unless the mappings are currently in a machine-readable format, they'll have to be created manually and managed through an admin interface. My understanding is that there's no mapping for planning codes -> NAICS codes. If that's the case, we should figure out a sustainable way for non-technical users within the city to manage the mapping relationships between classification codes.
Regardless, I think you're right - for Vegas, at least, I think we can automate much of the information entry process. For now, though, I think the sanest implementation strategy is to save these classification codes into the database.
Create mapping logic in the backend in order to create relationships between NAICS codes, Business Licensing Codes, and Planning Codes. Should we expose an endpoint for this as well?
I think using PostgreSQL to create some kind of relationship mapping would suit this task best.