When a query is returned by OnePetro inside the web page with the results also comes the dc_type or document type for all the papers that returned from that search.

The type of papers are:

  • Conference paper
  • Journal paper
  • General
  • Media
  • Presentation
  • Other

If we want to know what type of papers are available for a particular search we follow these steps:

Create a query

Our search is for the exact words “well test”. How many papers return from that search?

library(petroOne)

my_url <- make_search_url(query = "well test", 
                          how = "all")          # exact match

get_papers_count(my_url)
## [1] 12066

Find the type of papers available

result <- read_onepetro(my_url)
sdc <- summary_by_doctype(result)
sdc
## # A tibble: 7 x 2
##               name value
##              <chr> <dbl>
## 1          Chapter     8
## 2 Conference paper  9298
## 3          General   193
## 4    Journal paper  2529
## 5            Media     5
## 6            Other     8
## 7     Presentation    25

We see that the most numerous category is conference papers followed by journal. The total number of papers is about 12066

Variable type of documents

Depending of the words we are searching, the document types that return from the search may not be the same in all cases. For instance, in this case, we don’t get the type for Other or Chapter.

library(petroOne)

my_url <- make_search_url(query = "smart completion", 
                          how = "all")          # exact match

result <- read_onepetro(my_url)
sdc    <- summary_by_doctype(result)
sdc
## # A tibble: 5 x 2
##               name value
##              <chr> <dbl>
## 1 Conference paper   356
## 2          General     1
## 3    Journal paper    36
## 4            Media     1
## 5     Presentation     3

Get a list of papers for specific type.

All types for deepwater

library(petroOne)

my_url <- make_search_url(query = "deepwater")

result <- read_onepetro(my_url)
sdc    <- summary_by_doctype(result)
sdc
## # A tibble: 7 x 2
##               name value
##              <chr> <dbl>
## 1          Chapter     3
## 2 Conference paper 13204
## 3          General    44
## 4    Journal paper  2429
## 5            Media    66
## 6            Other    12
## 7     Presentation   405

Chapter papers for deepwater

my_url <- make_search_url(query = "deepwater", 
                          dc_type = "chapter")

onepetro_page_to_dataframe(my_url)
## # A tibble: 3 x 6
##                                                          title_data
##                                                               <chr>
## 1                         Offshore Operations (1987 PEH Chapter 18)
## 2 Development Plan for Oil and Gas Reservoirs (1987 PEH Chapter 36)
## 3               Properties of Produced Waters (1987 PEH Chapter 24)
## # ... with 5 more variables: paper_id <chr>, source <chr>, type <chr>,
## #   year <chr>, author1_data <chr>

Journal papers for deepwater

my_url <- make_search_url(query = "deepwater", 
                          dc_type = "journal-paper")

onepetro_page_to_dataframe(my_url)
## # A tibble: 10 x 6
##                                   title_data                 paper_id
##                                        <chr>                    <chr>
##  1                        Deepwater Projects           0516-0058-JPT 
##  2                      Deepwater Operations            0113-022-TWA 
##  3                            Deepwater Fans                15776-PA 
##  4           Deepwater Drilling Riser System                13479-PA 
##  5      Technology Focus: Deepwater Projects           0517-0049-JPT 
##  6 Evaluating Deepwater Development Concepts                28679-PA 
##  7                Deepwater-Riser Technology           0499-0046-JPT 
##  8        Advancing Deepwater Kick Detection           0516-0059-JPT 
##  9               Achieving Deepwater Success           0513-0018-JPT 
## 10                Deepwater Production Riser                12533-PA 
## # ... with 4 more variables: source <chr>, type <chr>, year <chr>,
## #   author1_data <chr>

General papers for deepwater

my_url <- make_search_url(query = "deepwater", 
                          dc_type = "general")

onepetro_page_to_dataframe(my_url)
## # A tibble: 10 x 6
##                                                                     title_data
##                                                                          <chr>
##  1                                 Stability Of Deepwater Jacket Before Piling
##  2                          Risers: A Key Challenge for Deepwater Developments
##  3 Fluid Selection for Deepwater Completions - New Frontiers Bring New Fluid R
##  4                                                 The Economics of Deep Water
##  5                                                  Data Visualization Centers
##  6                      Critical Application Cementing - Redefining the Issues
##  7        Lessons Learned From Integrated Analysis of GOM Drilling Performance
##  8            Wellbore Stability Issues in Shales or Hydrate Bearing Sediments
##  9                     The Offshore Industry - Middle-aged, but Still Learning
## 10                                                Gas Hydrates: Friend or Foe?
## # ... with 5 more variables: paper_id <chr>, source <chr>, type <chr>,
## #   year <chr>, author1_data <chr>

Presentation papers for deepwater

my_url <- make_search_url(query = "deepwater", 
                          dc_type = "presentation")

onepetro_page_to_dataframe(my_url)
## # A tibble: 10 x 6
##                                                                     title_data
##                                                                          <chr>
##  1                  Video:                  Advancing Deepwater Kick Detection
##  2                      Video:                  Deepwater Development Strategy
##  3                  Video:                  Key Aspects of Deepwater Appraisal
##  4    Video:                  Dual Reaming Reduces Vibration in Deepwater Well
##  5            Video:                  A Roadmap to Frontier Deepwater Drilling
##  6 Video:                  Sustainable Deepwater Development Through Innovatio
##  7   Video:                  More Improvements to Deepwater Subsea Measurement
##  8 Video:                  Financing Deepwater Development - Speaker - Dan Pic
##  9   Video:                  Summarizing the Deepwater Horizon/Macondo Reports
## 10    Video:                  New Deepwater Construction Equipment Update 2014
## # ... with 5 more variables: paper_id <chr>, source <chr>, type <chr>,
## #   year <chr>, author1_data <chr>