JYProjs / patentr

R package to access USPTO bulk data in tidy, rectangular format
Other
9 stars 3 forks source link

Unable to save as a dataframe and not getting headers in a csv #38

Open NJStudent1 opened 2 years ago

NJStudent1 commented 2 years ago

Hi,

I have two questions on the package's execution.

  1. The document description says, “Data can be returned as a data frame or written to a file (see ‘output_file‘ parameter).” However, I am getting the following error when I try to retrieve the data as a dataframe.
df2018w1 <- get_bulk_patent_data(year = 2018, week = 1)

Error in cat("WKU,Title,App_Date,Issue_Date,Inventor,Assignee,ICL_Class,References,Claims\n",  : 
  argument "output_file" is missing, with no default
  1. The code runs fine if I write the data to a csv but there are no column names in the csv output. Please tell how to get them.

Thanks!