Cal. Welf. & Inst. Code § 827.12
(a)
(2) Upon request of the chief probation officer, the juvenile court may authorize a probation department to access and provide data contained in juvenile delinquency case files and related juvenile records in the possession of the probation department for the purpose of data sharing or conducting or facilitating research on juvenile justice populations, practices, policies, or trends, if both of the following requirements are met:
(b)