getbydate: IPOS: Raw data of applications by lodgement date

Description Usage Arguments Details Value

View source: R/getbydate.R

Description

This function is for the API of Intellectual Property Office of Singapore (IPOS). It retrieves raw data of real-time patent, design or trademark applications from the API, and parses the JSON output into a dataframe. More info on API here: https://data.gov.sg/dataset/ipos-apis?resource_id=6a030bf2-22da-4621-8ab0-9a5956a30ef3.

Usage

1
getbydate(date, type = "patents")

Arguments

date

The particular lodgement date, in the following format and in inverted commas: "YYYY-MM-DD".

type

Three choices for the type of IP applications: patents, designs or trademarks. Inputs in inverted commas e.g. "patents".

Details

Note: The parsing of raw data in JSON format using the jsonlite package results in some values being unclean or in an unsuitable format. The function dfbydate in this package provides a dataframe with select key information of applications (patents only) that is cleaned.

Value

Dataframe of raw data from IPOS API (parsed from JSON format).


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