Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DMPED + ODCA HPTF projects to Catalog #163

Open
ptatian opened this issue Jun 16, 2018 · 7 comments
Open

Add DMPED + ODCA HPTF projects to Catalog #163

ptatian opened this issue Jun 16, 2018 · 7 comments
Assignees

Comments

@ptatian
Copy link
Contributor

ptatian commented Jun 16, 2018

Add Housing Production Trust Fund projects from ODCA database (**PresCat.ODCA_HPTF_2018).

@ptatian ptatian added the data label Jun 16, 2018
@ptatian ptatian changed the title Add ODCA HPTF projects to Catalog Add DMPED + ODCA HPTF projects to Catalog Aug 3, 2018
@ptatian
Copy link
Contributor Author

ptatian commented Aug 3, 2018

Updated issue to include adding DMPED data as well. Should compare DMPED and ODCA data to come up with a unique set of new projects or subsidies to add to Catalog. Should not replace existing project or subsidy data with these data.

@ptatian
Copy link
Contributor Author

ptatian commented Aug 5, 2018

@mcohenui Updated instructions for adding new projects.

@mcohenui
Copy link
Contributor

@ptatian Do we have a sense of whether the DMPED data or ODCA data will be updated over time? Should I be writing this as a one off program to add what we have now, or as a process that we expect to incorporate into Prezcat updates?

@ptatian
Copy link
Contributor Author

ptatian commented Aug 13, 2018

@mcohenui It seems not very likely the ODCA data will be updated, since that was for a one-off study. DMPED should be updating its data fairly regularly, however. So, we might want to think about that possibility.

mcohenui added a commit that referenced this issue Aug 16, 2018
@ptatian Hey Peter, hit a bit of a roadblock in figuring out the read_ODCA_HPTFdatabase.sas program. The main issue being that there are quite a few slots where the address is "multiple, see notes", and the notes field is a number of different addresses. Wondering how I should handle these projects.
@ghost ghost added the in progress label Aug 16, 2018
@ptatian
Copy link
Contributor Author

ptatian commented Aug 23, 2018

Hi @mcohenui. Yes, I see. We do want to capture that information. Two issues we need to resolve.

  1. Parsing the multiple addresses. We already have some code for doing this for the DHCD notice data. The %Rcasd_address_parse() macro in the DHCD library can be used to turn a list of addresses/address ranges into individual address records. The macro takes these parameters. All are required.
    • data= input data set,
    • out= output data set,
    • addr= var with list of addresses to be parsed,
    • keepin= this parameter needs to be included but you can just set to nothing,
    • id= One or more ID vars that can be used to relate parsed addresses back to original project

You might give this macro a try and see how well it does with the address lists in the file. Then we can see if we need to make any adjustments.

  1. Adding multiple addresses to the Catalog. I think this is the bigger challenge as the current process for adding projects only lets you specify one address per project. We would either have to change the code for adding projects to allow multiple addresses OR add the multiple addresses to Building_geocode afterward as a separate step. The latter is not difficult but you need to know the NLIHC_ID for the projects to do this, which means it may need to be done as a separate issue after we add the projects to the Catalog.

Let me know what you think.

@ptatian
Copy link
Contributor Author

ptatian commented Oct 11, 2018

@mcohenui Checking in on this issue. Have you been able to make any progress?

@mcohenui
Copy link
Contributor

@ptatian About at the same place. I have had a few deliverables due. Will start back up next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants