Crash Report Sampling System (CRSS) Processed Data – rfars
收藏资源简介:
The General Estimates System (GES), redesigned as the Crash Report Sampling System (CRSS) in 2016, is a nationally representative sample of police-reported motor vehicle crashes in the U.S., maintained by the National Highway Traffic Safety Administration (NHTSA). While the raw GES/CRSS data are publicly available, they are distributed in formats that require significant preprocessing before analysis. This dataset provides a processed version of the GES/CRSS database (2014-2023), optimized for immediate use in R, Python, Excel, and other modern data tools. It was prepared by the rfars R package, enabling researchers, policymakers, and educators to access and analyze crash data more efficiently and reproducibly. This dataset is provided in three different file formats to support a wide range of users and analysis environments: CSV (.csv) - a plain text format, with each of the five tables saved separately. These files are the most universally compatible and can be opened directly in Excel, though they are larger. Parquet (.parquet) - a modern, compressed, cross-platform columnar format. Each of the five tables is provided separately (fars_accident.parquet, fars_vehicle.parquet, etc.). This version is recommended for Python, SQL, and advanced R users, as it is smaller than CSV and loads quickly in most data science environments. RDS (.rds) - a native R format containing the full dataset as a list of five related tables (accident, vehicle, person, drugs, distract). This version is recommended for R users, since it can be loaded in one step with readRDS() and preserves all variable types exactly as processed.
通用估算系统(General Estimates System, GES)于2016年重构为事故报告抽样系统(Crash Report Sampling System, CRSS),是由美国国家公路交通安全管理局(National Highway Traffic Safety Administration, NHTSA)维护的、覆盖全美警方上报机动车事故的代表性抽样数据集。尽管GES/CRSS原始数据已面向公众开放,但其分发格式需经过大量预处理后方可用于分析。 本数据集提供了2014-2023年GES/CRSS数据库的预处理版本,针对R、Python、Excel及其他现代数据工具的即时使用进行了优化。该数据集由rfars R包制作完成,可帮助研究人员、政策制定者与教育工作者更高效且可复现地获取与分析事故数据。 本数据集提供三种不同文件格式,以适配多样化用户群体与分析环境: 1. CSV格式(.csv):纯文本格式,五个数据表分别单独存储。该格式兼容性最强,可直接在Excel中打开,但文件体积较大。 2. Parquet格式(.parquet):现代化、压缩型跨平台列式存储格式,五个数据表分别单独存储(如fars_accident.parquet、fars_vehicle.parquet等)。该格式推荐Python、SQL及高阶R用户使用,其体积小于CSV格式,且在多数数据科学环境中加载速度更快。 3. RDS格式(.rds):R原生格式,将完整数据集存储为五个关联数据表的列表(包括事故表、车辆表、人员表、毒品检测表、分心行为表)。该格式专为R用户打造,可通过readRDS()函数一步加载,且能完整保留预处理后的所有变量类型。



