{"id":32399918,"url":"https://github.com/davidasmith/docmerge","last_synced_at":"2026-07-06T18:31:38.020Z","repository":{"id":312734651,"uuid":"1048277909","full_name":"DavidASmith/docmerge","owner":"DavidASmith","description":null,"archived":false,"fork":false,"pushed_at":"2025-10-03T12:22:00.000Z","size":32,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-03T14:31:50.090Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/DavidASmith.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-01T07:47:12.000Z","updated_at":"2025-09-01T07:47:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"a707f5c3-f4c8-4894-8077-15dab5fa2c95","html_url":"https://github.com/DavidASmith/docmerge","commit_stats":null,"previous_names":["davidasmith/docmerge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DavidASmith/docmerge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidASmith%2Fdocmerge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidASmith%2Fdocmerge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidASmith%2Fdocmerge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidASmith%2Fdocmerge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavidASmith","download_url":"https://codeload.github.com/DavidASmith/docmerge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidASmith%2Fdocmerge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280929566,"owners_count":26415348,"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","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-10-25T08:59:15.419Z","updated_at":"2026-07-06T18:31:37.995Z","avatar_url":"https://github.com/DavidASmith.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docmerge\n\n\u003c!-- badges: start --\u003e\n\u003c!-- badges: end --\u003e\n\ndocmerge helps you to generate multiple Microsoft Word documents from R. You can use a Word document as a template, with placeholders for text to be filled in from R. docmerge will create a separate Word document for each row of input data you provide.\n\n## Installation\n\nYou can install the development version of docmerge [GitHub](https://github.com/DavidASmith/docmerge) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"DavidASmith/docmerge)\")\n```\n\n## Example\n\nCreate a Word document to use as a template, with placeholders for the text you want to change in each output document. By default, placeholders are indicated by double angle brackets, e.g. `\u003c\u003cname\u003e\u003e`.\n\nAn example template is included with the package. Its path can be found like this:\n\n``` r\nexample_template \u003c- system.file(\n  \"extdata\",\n  \"letter_template.docx\",\n  package = \"docmerge\"\n)\n```\n\nThen create a data frame with the data to fill in the placeholders. Column names must match the placeholders in your template. An example data frame is included in the package:\n\n``` r\ngift_details\n```\n\nThen use docmerge to generate documents (one for each row in the data frame):\n\n``` r\ndocmerge(default_template, gift_details)\n```\n\nOutput Word documents are written to the current working directory. You can specify an alternative using the `output_path` argument.\n\nNote that you can specify the output file name by including a column named `file_name` in your data frame. If this is absent, files will be named `1.docx`, `2.docx`, etc.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidasmith%2Fdocmerge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidasmith%2Fdocmerge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidasmith%2Fdocmerge/lists"}