codeforamerica / classifyr

A tool for aggregating and crowd-sourcing the classification emergency call data
MIT License
0 stars 1 forks source link

Updated dataset analyze! to no longer read the entire CSV into memory. #131

Closed jamesiarmes closed 1 year ago

jamesiarmes commented 1 year ago

Overview

Updated dataset analyze! to no longer read the entire CSV into memory.

Type of change

Related tickets

Fixes # (issue)

Changes

Notes

Addresses memory crashes from large CSVs. Also reduces the total analysis time for all files, increasing exponentially with file size.