Skip to content

Commit

Permalink
add links to qsv
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Mar 16, 2023
1 parent 23d0974 commit 750bcde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# qsv-lookup-tables
A repository of common lookup tables that can be used with qsv's `luau` command's `qsv_register_lookup` helper function.
A repository of common lookup tables that can be used with [qsv](https://github.com/jqnatividad/qsv)'s [`luau`](https://github.com/jqnatividad/qsv#luau_deeplink) command's `qsv_register_lookup` helper function.

Please feel free to submit a pull request to add more lookup tables.

## Usage
To use a lookup table, simply use the name of the csv you want to use with the `qsv_register_lookup` using the "dathere:https://" scheme.
To use a lookup table, simply use the name of the csv you want to use with the [`qsv_register_lookup`](https://github.com/jqnatividad/qsv/blob/b8fded6b41c4b31f0f257a0fa1513a921e035e7a/src/cmd/luau.rs#L1349-L1368) using the "dathere:https://" scheme.

```lua
us_states_lookup_headers = qsv_register_lookup("us_states", "dathere:https://us-states-example.csv")
Expand Down

0 comments on commit 750bcde

Please sign in to comment.