Klimfaktoren

This commit is contained in:
Moritz Utcke
2025-03-19 12:31:37 -03:00
parent 973fd76d1a
commit 219ffc7fbb
4 changed files with 5039211 additions and 2074973 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
import { prisma } from "#lib/server/prisma"; import { prisma } from "#lib/server/prisma.js";
import moment from "moment"; import moment from "moment";
import csv from "csvtojson" import csv from "csvtojson"
@@ -70,4 +70,4 @@ const result = await prisma.klimafaktoren.createMany({
}) })
console.log(`Updated ${result.count} rows!`) console.log(`Updated ${result.count} rows! Pulled ${filename}`)

View File

@@ -4,7 +4,7 @@ import * as fs from "fs";
const start = moment().set("year", 2019).set("month", 8).set("date", 1); const start = moment().set("year", 2019).set("month", 8).set("date", 1);
const end = moment().set("year", 2023).set("month", 2).set("date", 1); const end = moment().set("year", 2024).set("month", 2).set("date", 1);
let current = start.clone(); let current = start.clone();

2074970
test.json

File diff suppressed because it is too large Load Diff