# Read CSV file as a vector of StringRecords

* StringRecord

* [csv](https://crates.io/crates/csv)
* [StringRecord](https://docs.rs/csv/latest/csv/struct.StringRecord.html)

* We read the rows (skipping the first row)
* We can iterate over the rows or access the individual elements

{% embed include file="src/examples/csv/csv-stringrecord/planets.csv" %}
{% embed include file="src/examples/csv/csv-stringrecord/Cargo.toml" %}
{% embed include file="src/examples/csv/csv-stringrecord/src/main.rs" %}
{% embed include file="src/examples/csv/csv-stringrecord/out.out" %}

