cleanHeaderNames: Generate a standard set of header names for import data

Description Usage Arguments Value See Also Examples

Description

Create a standard nameset from Sumobrain import data. See acars for the name set.

There are three main sources of free and exportable patent data from the internet:

  1. Sumobrain

  2. The Lens

  3. Google

These three popular sites have varying levels of exportable data available. Sumobrain tends to be the most comprehensive, followed by Lens, and finally by Google. Thus, all three have hardcoded data available in the patentr package.

To download Sumobrain data, go to http://www.sumobrain.com and create a free account. Then run your search, export the data (250 max at a time), and use the chooseFiles and importPatentData functions to load the data into R.

To download Lens data, go to www.lens.org. You do not need to create an account. Run your search, and in the header section, look for the cloud icon with a downward arrow. Choose the CSV option.

To download Google patent data, visit www.patents.google.com, run your search, and click "Download (CSV)" in the upper left-hand corner.

Usage

1
2
3

Arguments

patentData

A data frame. Default is NA.

columnsExpected

An expected number of columns. Default is Sumobrain sumobrainColumns data.

cleanNames

A standard list of clean names. Default is Sumobrain sumobrainNames data.

Value

A data frame 11 columns wide, with standard column names used in other functions.

See Also

  1. sumobrainColumns

  2. sumobrainNames

  3. skipSumobrain

  4. googleColumns

  5. googleNames

  6. skipGoogle

  7. lensColumns

  8. lensNames

  9. skipLens

Examples

1
2
3
cleanData <- cleanHeaderNames(patentData = acars)
cleanDataLens <- cleanHeaderNames(patentData = acarsLens, 
columnsExpected = lensColumns, cleanNames = lensNames)

kamilien1/patentR documentation built on May 20, 2019, 7:19 a.m.