{"id":27119261,"url":"https://github.com/mrchypark/dbf","last_synced_at":"2026-05-08T01:47:01.770Z","repository":{"id":92606343,"uuid":"157725516","full_name":"mrchypark/DBF","owner":"mrchypark","description":"Provide Dummy DB Syntax in Namespace to use functions with dplyr","archived":false,"fork":false,"pushed_at":"2018-11-15T18:30:47.000Z","size":25,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T05:39:37.736Z","etag":null,"topics":["database","dbi","dplyr","rstats","syntax"],"latest_commit_sha":null,"homepage":"https://mrchypark.github.io/DBF/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrchypark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-11-15T14:37:08.000Z","updated_at":"2020-10-11T22:26:03.000Z","dependencies_parsed_at":"2023-06-18T16:17:00.275Z","dependency_job_id":null,"html_url":"https://github.com/mrchypark/DBF","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"0951c42027f99b9b8c856b710d52f14a2569f20c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrchypark%2FDBF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrchypark%2FDBF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrchypark%2FDBF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrchypark%2FDBF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrchypark","download_url":"https://codeload.github.com/mrchypark/DBF/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247623013,"owners_count":20968574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","dbi","dplyr","rstats","syntax"],"created_at":"2025-04-07T08:52:13.314Z","updated_at":"2026-05-08T01:47:01.716Z","avatar_url":"https://github.com/mrchypark.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DBF\n\nThe goal of DBF is to provide dummy DB syntax in namespace to use functions with dplyr\n\n## Installation\n\nYou can install the developed version of DBF from [github](https://github.com/mrchypark/DBF) with:\n\n``` r\n# if you don't instatll remotes package, uncomment \u0026 run below line.\n# install.packages(\"remotes\")\nremotes::install_github(\"mrchypark/DBF\")\n```\n\n## Example\n\nThis is a basic example which shows you how to solve a common problem:\n\n``` r\nlibrary(DBI)\nlibrary(DBF)\n\nconn \u003c- dbConnect(\n  RPostgres::Postgres(),\n  host = HOST, # i.e. 'ec2-54-83-201-96.compute-1.amazonaws.com'\n  port = 5432, # or any other port specified by your DBA\n  user = 'postgres',\n  password = 'password'\n)\n\nlist_of_syntax \u003c- get_function(conn)\nset_function(list_of_syntax)\n```\n![](https://user-images.githubusercontent.com/6179259/48572925-29a1f180-e94e-11e8-94a4-259a713a6015.png)\n\n## Usage\n\n``` r\nlibrary(dplyr)\nlibrary(DBI)\nlibrary(DBF)\n\nconn \u003c- dbConnect(\n  RPostgres::Postgres(),\n  host = HOST, # i.e. 'ec2-54-83-201-96.compute-1.amazonaws.com'\n  port = 5432, # or any other port specified by your DBA\n  user = 'postgres',\n  password = 'password'\n)\n\ncopy_to(conn, test)\n\nlist_of_syntax \u003c- get_function(conn)\nset_function(list_of_syntax)\n\ntbl(conn, \"test\") %\u003e% \n  mutate(date = DATE_TRUCN(\"day\", date))\n\n```\n\n## Special Thanks\n\n[Tyler Morgan-Wall](https://twitter.com/tylermorganwall) @tylermorganwall [history](https://twitter.com/mrchypark_/status/1063113560086130688)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrchypark%2Fdbf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrchypark%2Fdbf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrchypark%2Fdbf/lists"}