Learn R Programming

petro.One (version 0.2.3)

onepetro_page_to_dataframe: Reads a OnePetro URL and converts it to a dataframe

Description

A OnePetro URL with a query is read into a HTML page and converted to a dataframe

Usage

onepetro_page_to_dataframe(url)

Arguments

url

char a OnePetro type URL

Examples

Run this code
# NOT RUN {
# Example 1
# Search papers with keyword "smartwell"
url_sw <- "https://www.onepetro.org/search?q=smartwell"
onepetro_page_to_dataframe(url_sw)
# Example 2
# Search for exact words ""vertical lift performance"
url_vlp <- "https://www.onepetro.org/search?q=%22vertical+lift+performance%22"
onepetro_page_to_dataframe(url_vlp)
# }

Run the code above in your browser using DataLab