We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 77b6950 + 841dae8 commit 5dd61c4Copy full SHA for 5dd61c4
NEWS.md
@@ -1,3 +1,6 @@
1
+# StatFiles.jl v0.8.0
2
+* Add support for "application/vnd.dataresource+json" MIME type
3
+
4
# StatFiles.jl v0.7.0
5
* Export FileIO.File and FileIO.@format_str
6
src/StatFiles.jl
@@ -30,6 +30,12 @@ end
30
31
Base.Multimedia.showable(::MIME"text/html", source::StatFile) = true
32
33
+function Base.show(io::IO, ::MIME"application/vnd.dataresource+json", source::StatFile)
34
+ TableShowUtils.printdataresource(io, getiterator(source))
35
+end
36
37
+Base.Multimedia.showable(::MIME"application/vnd.dataresource+json", source::StatFile) = true
38
39
function fileio_load(f::FileIO.File{FileIO.format"Stata"})
40
return StatFile(f.filename)
41
end
0 commit comments