Skip to content

Commit 24b1809

Browse files
Merge branch 'Update_package'
2 parents 20e7304 + 863eae4 commit 24b1809

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
/dev/
77
/docs/build/
88
/docs/site/
9+
10+
.vscode/

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ JSON3 = "0f8b85d8-7281-11e9-16c2-39a750bddbf1"
1111
JSONTables = "b9914132-a727-11e9-1322-f18e41205b0b"
1212

1313
[compat]
14-
CSV = "0.6"
14+
CSV = "0.6, 0.7"
1515
DataFrames = "0.21"
1616
HTTP = "0.8"
1717
JSON3 = "1"

src/nass.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function get_nass(args...; format="json")
1717
DataFrame(jsontable(JSON3.read(r)[:data]))
1818
elseif uppercase(format) == "CSV"
1919
r = request("GET", string(header, query)).body
20-
CSV.read(r)
20+
CSV.File(r) |> DataFrame
2121
else
2222
r = request("GET", string(header, query))
2323
end

0 commit comments

Comments
 (0)