; and (ii) upon receipt of the data, aggregate the data and report the individual and aggregate data to the Secretary in a timely manner. (B) Submission by courts If the Attorney general of the State fails to submit the data described in paragraph (1) to the Secretary in a timely manner under subparagraph (A), the clerk of each State or local court that handles landlord-tenant cases may submit the data directly to the Secretary. (d) Guidelines The Secretary shall promulgate rules and establish guidelines for the submission of data under subsection (c) and publication of data in the database established under this section, which shall include— (1) a technological solution that provides a single point of entry for data submissions to reduce the burden on clerks of the courts; (2) in consultation with local governments and judges, appropriate safeguards for protecting the privacy of personally identifiable information of vulnerable populations, which shall incorporate confidentiality measures to ensure that any personally identifiable information regarding a tenant who is a victim of domestic violence, dating violence, sexual assault, or stalking is not disclosed during the process of data submission and publication; (3) standards for— (A) external researchers to be granted permission to access data in the database, including both aggregate data and, if necessary for the conduct of their research, personally identifiable information, with appropriate safeguards to ensure identities are protected in any publicly released analysis; (B) the establishment of a research data center to support analysis of that data; and (C) using generally accepted statistical principles to validate the data, in consultation with outside participants; (4) methods for collecting data required under subsection (b) that are not currently collected; (5) establishing definitions for terms related to the eviction process based on how they are legally defined by courts of jurisdiction handling eviction cases