如何在R中打开PostgreSQL数据库转储

发布于 2025-02-13 05:21:41 字数 543 浏览 0 评论 0 原文

我有很多文件(没有扩展名),我想用r和提取data.frames打开。

它在标题中说是

- M- postgresql数据库转储

它内部有许多表,我检测到的唯一明显的模式是,每个表的末端都具有“”。 (请参阅打印屏幕)

是否有一种明智的方法来导入此文件并将其分解为有意义的数据框架?

先感谢您!

i have many files (with no extension) that i would like to open with R and extract data.frames.

it says in the header that it is a

--
m -- PostgreSQL database dump

It has many tables inside it, and the only noticeable pattern i detected is that and the end of each table it has a "." (see print screen)

is there a smart way to import this file and and extract/break it into meaningful dataframes?

Thank you in advance!

header clip

table example

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文