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:
If we want to know what type of papers are available for a particular search we follow these steps:
Our search is for the exact words “well test”. How many papers return from that search?
library(petro.One)
my_url <- make_search_url(query = "well test",
how = "all") # exact match
get_papers_count(my_url)
## [1] 12213
sdc <- papers_by_type(my_url)
sdc
## # A tibble: 7 x 2
## name value
## <chr> <dbl>
## 1 Chapter 8
## 2 Conference paper 9440
## 3 General 193
## 4 Journal paper 2534
## 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 12213
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(petro.One)
my_url <- make_search_url(query = "smart completion",
how = "all") # exact match
sdc <- papers_by_type(my_url)
sdc
## # A tibble: 5 x 2
## name value
## <chr> <dbl>
## 1 Conference paper 360
## 2 General 1
## 3 Journal paper 36
## 4 Media 1
## 5 Presentation 3
library(petro.One)
my_url <- make_search_url(query = "deepwater")
sdc <- papers_by_type(my_url)
sdc
## # A tibble: 7 x 2
## name value
## <chr> <dbl>
## 1 Chapter 3
## 2 Conference paper 13351
## 3 General 44
## 4 Journal paper 2431
## 5 Media 66
## 6 Other 12
## 7 Presentation 405
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 <int>, author1_data <chr>
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 Operations 0113-022-TWA
## 2 Deepwater Projects 0516-0058-JPT
## 3 Deepwater Fans 15776-PA
## 4 Comments: Deepwater Promise 1006-0014-JPT
## 5 Technology Focus: Deepwater Projects 0517-0049-JPT
## 6 Evaluating Deepwater Development Concepts 28679-PA
## 7 Advancing Deepwater Kick Detection 0516-0059-JPT
## 8 Deepwater-Riser Technology 0499-0046-JPT
## 9 Evolving Deepwater Frontiers 0113-003-TWA
## 10 Deepwater Drilling Riser System 13479-PA
## # ... with 4 more variables: source <chr>, type <chr>, year <int>,
## # author1_data <chr>
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 The Offshore Industry - Middle-aged, but Still Learning
## 9 Wellbore Stability Issues in Shales or Hydrate Bearing Sediments
## 10 Gas Hydrates: Friend or Foe?
## # ... with 5 more variables: paper_id <chr>, source <chr>, type <chr>,
## # year <int>, author1_data <chr>
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: New Deepwater Construction Equipment Update 2014
## 8 Video: Implementing a Deepwater Pipeline Management System
## 9 Video: Summarizing the Deepwater Horizon/Macondo Reports
## 10 Video: More Improvements to Deepwater Subsea Measurement
## # ... with 5 more variables: paper_id <chr>, source <chr>, type <chr>,
## # year <int>, author1_data <chr>