vizbygeog: IPOS: Visualization of patent application inventors' or...

Description Usage Arguments Value

View source: R/vizbygeog.R

Description

This function is for the API of Intellectual Property Office of Singapore (IPOS). It scans through patent applications between two lodgement dates (both dates inclusive) and provides a visualization of where the inventors' or applicants' country of residence are on a world map. More info on API here: https://data.gov.sg/dataset/ipos-apis?resource_id=6a030bf2-22da-4621-8ab0-9a5956a30ef3.

Usage

1
vizbygeog(startdate, enddate = Sys.Date(), role = "inventor", option = "viz")

Arguments

startdate

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

enddate

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

role

Visualization can be of the countries of residence belonging to either the "inventor" or "applicant".

option

Three output choices: (i) "viz", (ii) "count", (iii) "applications". Inputs in inverted commas e.g. "count".

Value

Either of these based on option in function: (i) "viz" data visualization output of a world map indicating the number of patent inventors or applicants per country during the date interval, (ii) "count" dataframe of the count per country. (iii) "applications" dataframe of the individual applications.


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