cast_pv_data {patentsview} | R Documentation |
Cast PatentsView data
Description
This will cast the data fields returned by search_pv
so that
they have their most appropriate data types (e.g., date, numeric, etc.).
Usage
cast_pv_data(data)
Arguments
data |
The data returned by |
Value
The same type of object that you passed into cast_pv_data
.
Examples
## Not run:
fields <- c("patent_date", "patent_title", "patent_year")
res <- search_pv(query = "{\"patent_number\":\"5116621\"}", fields = fields)
cast_pv_data(data = res$data)
## End(Not run)
[Package patentsview version 0.3.0 Index]