summer of nytd 2018
play

Summer of NYTD, 2018 National Data Archive for Child Abuse and - PowerPoint PPT Presentation

Summer of NYTD, 2018 National Data Archive for Child Abuse and Neglect Bronfenbrenner Center for Translational Research Cornell University Introduction Summer Schedule: August 8 th Introduction August 15 th Data Structure


  1. Summer of NYTD, 2018 National Data Archive for Child Abuse and Neglect Bronfenbrenner Center for Translational Research Cornell University

  2. Introduction • Summer Schedule: • August 8 th — Introduction • August 15 th — Data Structure • August 22 nd — Expert Presentation I • August 29 th — Expert Presentation II • September 5 th — Linking to NCANDS & AFCARS • September 12 th — Research Presentation I • September 19 th — Research Presentation II

  3. Linking Datasets AFCARS, NYTD, NCANDS

  4. A Family of Datasets AFCARS NYTD NCANDS Foster Services Child File Care File File Adoption Outcomes Agency File File File

  5. Preparing the Linked File Same Dataset

  6. The AFCARS Foster Care File NDACAN distributes Fiscal year is denoted by Foster Care files in one- the variable FY fiscal-year batches The child’s RecNumbr will appear in every year Not all years for all the child is in FC, even if states can be linked nothing happens.

  7. AFCARS Foster Care File • Try to reduce the file to one record per child • What Information Do You Need? • Length of Stay? – Use most recent record • Reason For Entry? – Use most recent record • Data from Previous Removal? – Need earlier years’ records

  8. The NCANDS Child File The Child Identifier A row is a Child on is called ChID (not a Report AFCARSID ) ( RptID/ChID Pair) A multi-year Child Not all years of File may have Child File data can duplicate be linked Report/Child rows

  9. NCANDS Child File • Try to reduce the file to one record per child • What information do you need? • History of Abuse – Need multiple years • Number of Reports / Victimizations -- Summarize

  10. Linking Across Datasets

  11. The Key, Part 1: The Child Identifier • AFCARS Foster Care File RecNumbr • NYTD Outcomes File • NYTD Services File AFCARSID • NCANDS Child File

  12. The Key, Part 2: State • A Child Identifier may appear in more than one state • The state ID is needed • Called St in all but Child File, where it’s called StaTerr • Files can be linked (merged) on two variables • Better idea: Create linking variable • Advantages: • Simplifies code • Linking variable has the same name in all datasets • Removes confusion resulting from different variable names

  13. The Key, Part 2: State RecNumbr StFCID St or StaTerr or (State (State Foster Abbreviation) AFCARSID Care ID)

  14. Outer Join Only join Entire NYTD Rows in Foster Care Cohort the NYTD Or Child File Cohort

  15. A Left Join Will Produce Blank Rows on the Foster Care Side SELECT c11.St, c11.StFCID, OutcmRpt, OutcmDte, CurrFTE, HighEdCert , FY, LatRemDt, TotalRem, ClinDis, PHYABUSE, PedRevDt FROM Cohort11 c11 LEFT JOIN ( Select * From afcars.dbo.FosterCare Where FY = 2011 ) fc ON c11.StFCID = fc.StFCID WHERE Wave=1 AND FY11Cohort=1 AND OutcmDte is not null ORDER BY StFCID, FY

  16. Outer Join: All the NYTD Records

  17. This Query Will Produce Duplicate NYTD Rows SELECT c11.St, c11.StFCID, OutcmRpt, OutcmDte, CurrFTE, HighEdCert , FY, LatRemDt, TotalRem, ClinDis, PhyAbuse, PedRevDt FROM Cohort11 c11 LEFT JOIN ( Select * From afcars.dbo.FosterCare Where FY Between 2010 and 2015 ) fc ON c11.StFCID = fc.StFCID WHERE Wave=1 AND FY11Cohort=1 AND OutcmDte is not null ORDER BY StFCID, FY

  18. Join Can Produce Duplicate Rows

  19. Inner Join

  20. Inner Join – Records Common to Both

  21. Linking to the Child File NYTD Outcomes

  22. Things to Know When Linking the Child File The NCANDS Child File can Preparation will have to be linked to NYTD, using be done on the Child File the variable AFCARSID prior to attempting to link Think about exactly what Annual batches are variables you need from determined by disposition the CF, for what years, and date (DispDt), not the how you can reduce the report date or incident file to one record per child date

  23. Example of NYTD / Child File Merge

  24. Questions? • Michael Dineen—Research Support Specialist II and Manager of NYTD • med39@cornell.edu

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend