cast_pv_data {patentsview} | R Documentation |
This will cast the data fields returned by search_pv
so that
they have their most appropriate data types (e.g., date, numeric, etc.).
cast_pv_data(data)
data |
The data returned by |
The same type of object that you passed into cast_pv_data
.
## 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)