- with open(articleFile, 'r') as infileHandle:
- theInfile = csv.reader(infileHandle)
- next(theInfile) #skip header
- for currentLine in theInfile:
- articleList.append(currentLine)
+ j_Out = f"{outputPath}dailyviews{queryDate}.json"
+ t_Out = f"{outputPath}dailyviews{queryDate}.tsv"