Got this uploading this CSV: https://static.simonwillison.net/static/2022/Animal%20Rescue%20incidents%20attended%20by%20LFB%20from%20Jan%202009.csv
Relevant TODO:
|
def insert_docs(conn): |
|
database = sqlite_utils.Database(conn) |
|
# TODO: Support other encodings: |
|
reader = csv_std.reader(codecs.iterdecode(csv.file, "utf-8")) |
|
headers = next(reader) |