get_fars_crash_persons() is not working in large part because it does not have a lookup table in place for seat position. While the recoding of numeric values as descriptive variables is mostly handled by the API, the data available via get_fars_zip() would be much easier to work with if lookup tables were provided.
The getfars repository has already assembled a lot of this information into plain text files and I think some of the information may be available in a similar XML format used to generate the mmucc_codes reference data. The issue could be very complex to address comprehensively due to the changing variable definitions/coding conventions over time but something would be better than nothing.
get_fars_crash_persons()
is not working in large part because it does not have a lookup table in place for seat position. While the recoding of numeric values as descriptive variables is mostly handled by the API, the data available viaget_fars_zip()
would be much easier to work with if lookup tables were provided.The getfars repository has already assembled a lot of this information into plain text files and I think some of the information may be available in a similar XML format used to generate the mmucc_codes reference data. The issue could be very complex to address comprehensively due to the changing variable definitions/coding conventions over time but something would be better than nothing.