# NOT RUN {
## NOTE: none of the examples are run due to the download requirement
# }
# NOT RUN {
# download patents from the first week of 1976 and get data frame
patent_data <- get_bulk_patent_data(year = 1976, week = 1)
# download patents from the last 5 weeks of 1980 (and write to a file)
get_bulk_patent_data(year = rep(1980, 5), week = 48:52,
output_file = "patent-data.csv")
# }
Run the code above in your browser using DataLab