knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

iposscan

The goal of iposscan is to wrap around the Intellectual Property Office of Singapore (IPOS) API, and allow users to easily obtain and analyze data on real-time applications of designs, trademarks and patents submitted to IPOS from August 22, 2018 till today's date. More information on the API can be found here: https://data.gov.sg/dataset/ipos-apis?resource_id=6a030bf2-22da-4621-8ab0-9a5956a30ef3.

Intellectual property (“IP”) data is often analysed by companies and goverments; the former has vested interests to know how to manage their IP based on trends in the industry, and the latter may require such information for IP policies and regulation, as well as insights into potential innovation growth areas for the economy.

The API client allows for querying by one lodgement_date, and returns the set of applications lodged in that particular date. The functions in this package automate some tasks that are common use cases in IP data analyses. Functions in the package are:

  1. getbydate()
  2. dfbydate()
  3. dftwodates()
  4. similarpatent()
  5. vizbygeog()

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("joellynh/iposscan")
if (!require("devtools")){
  install.packages("devtools")
}
devtools::install_github("joellynh/iposscan")
library(iposscan)

Example

The following are some examples of 2 out of the 5 functions in the package.

dftwodates() function

results3 <- dftwodates(startdate = "2018-08-23", enddate = "2018-08-28")
head(results3, 2)

vizbygeog() function

vizbygeog(startdate = "2018-08-23", enddate = "2018-08-26", role = "applicant", option = "viz")


joellynh/iposscan documentation built on Dec. 16, 2019, 12:43 a.m.