PSBoardDataBase/ext/PSBoardDataBaseInteractiveUtilsExt.jl
Wataru Otsubo eba8d8f395 new: create tables & add campaigns, runs, ps_boards, single run results
- currently, test automatically opens sqlitebrowser
- ext package is not well checked
2024-09-12 20:26:38 +09:00

24 lines
372 B
Julia

module PSBoardDataBaseInteractiveUtilsExt
export import_dataframe
using PSBoardDataBase
using CSV
using DataFrames
using InteractiveUtils
"""
import_dataframe() -> DataFrame
Import dataframe from clipboard.
"""
function import_dataframe()
file = tempname()
finalizer(file) do x
@async rm(x)
end
CSV.read(file, DataFrame)
end
end # module