Skip to content

Commit

Permalink
correct lookup-table link
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Mar 16, 2023
1 parent b809f21 commit 19649cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To use a lookup table, simply use the name of the csv you want to use with the [
us_states_lookup_headers = qsv_register_lookup("us_states", "dathere:https://us-states-example.csv")
```

The first argument is the name of the lookup table to download the data to. The second argument is the dathere URL of the CSV file in the [`lookup-tables`](..\lookup-tables) directory.
The first argument is the name of the lookup table to download the data to. The second argument is the dathere URL of the CSV file in the [`lookup-tables`](https://github.com/dathere/qsv-lookup-tables/tree/main/lookup-tables) directory.

When the lookup table is downloaded sucessfully, a Luau table is created with the same name as the first argument ("us_states" in this case). The table is a two-dimensional table, where the first dimension is the value of the first column of the CSV file (the lookup key), and the second dimension are the rest of the columns with their data.

Expand Down

0 comments on commit 19649cb

Please sign in to comment.