{"id":32206520,"url":"https://github.com/jyprojs/patentr","last_synced_at":"2025-10-22T05:30:08.554Z","repository":{"id":48808736,"uuid":"327971111","full_name":"JYProjs/patentr","owner":"JYProjs","description":"R package to access USPTO bulk data in tidy, rectangular format","archived":false,"fork":false,"pushed_at":"2021-12-26T17:54:20.000Z","size":3131,"stargazers_count":10,"open_issues_count":8,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-08T16:11:11.998Z","etag":null,"topics":["patent","patent-data","patents","r","r-package","r-programming","rstats","uspto"],"latest_commit_sha":null,"homepage":"","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/JYProjs.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}},"created_at":"2021-01-08T17:36:05.000Z","updated_at":"2025-01-17T21:18:06.000Z","dependencies_parsed_at":"2022-09-15T06:02:20.945Z","dependency_job_id":null,"html_url":"https://github.com/JYProjs/patentr","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/JYProjs/patentr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JYProjs%2Fpatentr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JYProjs%2Fpatentr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JYProjs%2Fpatentr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JYProjs%2Fpatentr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JYProjs","download_url":"https://codeload.github.com/JYProjs/patentr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JYProjs%2Fpatentr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280384020,"owners_count":26321666,"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-22T02:00:06.515Z","response_time":63,"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":["patent","patent-data","patents","r","r-package","r-programming","rstats","uspto"],"created_at":"2025-10-22T05:30:04.033Z","updated_at":"2025-10-22T05:30:08.549Z","avatar_url":"https://github.com/JYProjs.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# patentr: Access USPTO Bulk Data in Tidy Rectangular Format\n\n[![Travis-CI Build Status](https://api.travis-ci.com/JYProjs/patentr.svg?branch=main)](https://travis-ci.com/github/JYProjs/patentr)\n[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/JYProjs/patentr?svg=true)](https://ci.appveyor.com/project/JYProjs/patentr)\n[![Coverage Status](https://img.shields.io/codecov/c/github/JYProjs/patentr/master.svg)](https://codecov.io/github/JYProjs/patentr?branch=master)\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![CRAN version](http://www.r-pkg.org/badges/version/patentr)](https://CRAN.R-project.org/package=patentr)\n[![CRAN Downloads](http://cranlogs.r-pkg.org/badges/grand-total/patentr)](https://CRAN.R-project.org/package=patentr)\n\n## Overview\n\nThe patentr R package allows easy access to USPTO (United States Patent and Trademark Office) bulk patent data in tidy, rectangular format.\nBy downloading, converting, and storing patent data directly from the USPTO website, patentr minimizes the work needed to acquire usable data, allowing users to focus on analyzing the data.\n\n## Installation\n\nTo install patentr, run the following R code:\n\n```r\n# install from CRAN\ninstall.packages(\"patentr\")\n\n# install development version from GitHub\ndevtools::install_github(\"JYProjs/patentr\")\n```\n\n## Sample code\n\nBulk patent data can be downloaded using the year and week (within each year)\nas follows:\n\n```r\n# load patentr\nlibrary(\"patentr\")\n\n# download patents from the first week of 1976\nget_bulk_patent_data(year = 1976,\n                     week = 1,\n                     output_file = \"patent_output1.csv\")\n\n# download patents from:\n#   1. week 1 of 1976 (TXT format in USPTO)\n#   2. week 48 of 2002 (XML format 1 in USPTO)\n#   3. week 19 of 2006 (XML format 2 in USPTO)\n# N.B. it will take a few minutes to run the next line\nget_bulk_patent_data(year = c(1976, 2002, 2006),\n                     week = c(1, 48, 19),\n                     output_file = \"patent_output2.csv\")\n```\n\n### Data collected for each patent\n\n* patent title\n* application date\n* issue date\n* inventor name(s)\n* assignee name(s)\n* ICL classification\n* unique identifier (WKU)\n* referenced patent numbers\n* claims\n\n## Contribute\n\nTo contribute to patentr, you can create issues for any bugs/suggestions on the [issues page](https://github.com/JYProjs/patentr/issues).\nYou can also fork the patentr repository and create pull requests to add features you think will be useful for users.\n\n## Citation\n\nWadhwa RR, Yu J, Beltz H, Desai MY, Érdi P, Scott JG. patentr: Access USPTO Bulk Data in Tidy Rectangular Format. 2021; R package version 0.1.0. URL https://github.com/JYProjs/patentr.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjyprojs%2Fpatentr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjyprojs%2Fpatentr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjyprojs%2Fpatentr/lists"}