Skip to content

Commit

Permalink
links
Browse files Browse the repository at this point in the history
  • Loading branch information
tilo committed Jul 8, 2024
1 parent 2728db5 commit 34a530f
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/_introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@ The CSV processing also needed to be robust against variations in the input data

* Data Validations
(planned feature)

PREVIOUS [README](../README.md) | NEXT: [The Basic API](./basic_api.md)
2 changes: 2 additions & 0 deletions docs/basic_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,5 @@ $ hexdump -C spec/fixtures/bom_test_feff.csv
data = SmarterCSV.process(f)
end
```

PREVIOUS: [Introduction](./_introduction.md) | NEXT: [Configuration Options](./options.md)
2 changes: 2 additions & 0 deletions docs/data_transformations.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ It can happen that after all transformations, a row of the CSV file would produc
By default SmarterCSV uses `remove_empty_hashes: true` to remove these empty hashes from the result.

This can be set to `true`, to keep these empty hashes in the results.

PREVIOUS: [Header Validations](./header_validations.md) | NEXT: [Value Converters](./value_converters.md)
3 changes: 3 additions & 0 deletions docs/header_transformations.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,6 @@ For CSV files with headers, you can either:
* some CSV files use un-escaped quotation characters inside fields. This can cause the import to break. To get around this, use the `:force_simple_split => true` option in combination with `:strip_chars_from_headers => /[\-"]/` . This will also significantly speed up the import.
If you would force a different :quote_char instead (setting it to a non-used character), then the import would be up to 5-times slower than using `:force_simple_split`.


PREVIOUS: [Row and Column Separators](./row_col_sep.md) | NEXT: [Header Validations](./header_validations.md)

2 changes: 2 additions & 0 deletions docs/header_validations.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ If these keys are not present, `SmarterCSV::MissingKeys` will be raised to infor

=> this will raise SmarterCSV::MissingKeys if any row does not contain these three keys
```

PREVIOUS: [Header Transformations](./header_transformations.md) | NEXT: [Data Transformations](./data_transformations.md)
4 changes: 4 additions & 0 deletions docs/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,7 @@ There have been a lot of 1-offs and feature creep around these options, and goin
| | | also accepts either {:except => [:key1,:key2]} or {:only => :key3} |
---------------------------------------------------------------------------------------------------------------------------------


PREVIOUS: [The Basic API](./basic_api.md) | NEXT: [Row and Column Separators](./row_col_sep.md)


2 changes: 2 additions & 0 deletions docs/row_col_sep.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,5 @@ In this example, we use `comment_regexp` to filter out and ignore any lines star
end
=> returns number of chunks
```

PREVIOUS: [Configuration Options](./options.md) | NEXT: [Header Transformations](./header_transformations.md)
2 changes: 2 additions & 0 deletions docs/value_converters.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ If you use `key_mappings` and `value_converters`, make sure that the value conve
first_record[:price].class
=> Float
```

PREVIOUS: [Data Transformations](./data_transformations.md) | UP: [README](../README.md)

0 comments on commit 34a530f

Please sign in to comment.