Any package in Julia like R’s dbplyr?
dbplyr allows you to use remote database tables as if they are in-memory data frames by automatically converting dplyr code into SQL. I want to do the same with DataFrames and SQL.
Any package in Julia like R’s dbplyr?
dbplyr allows you to use remote database tables as if they are in-memory data frames by automatically converting dplyr code into SQL. I want to do the same with DataFrames and SQL.
A set of basic collection-like operations backed by an SQL database is available in [ANN] SQLStore.jl: use SQL tables as persistent Julia collections.
It presents tables with interface similar to arrays or dicts, see the notebook for some examples. Stuff like push!, filter, count, etc.
SQLStore is not a full Julia-SQL translation layer, so not exactly what you are looking for. Still, it is helpful for eg loading the required subset of the whole SQL table into memory. After that, just use familiar Julia in-memory tools (:
A bit ambitious, but I wonder if a package like dbplyr existed in Julia, then packages built on DataFrames, such as Survey.jl or TSFrames.jl, could simply switch the backend to do everything out of memory.
Would something like this be interesting to build?
I would totally use that!
this would be very useful!
A year late to the party but we have this now: GitHub - TidierOrg/TidierDB.jl: Tidier database analysis in Julia, modeled after the dbplyr R package.