Create a URL that works in OnePetro website

make_search_url(query = NULL, start = NULL, from_year = NULL,
  peer_reviewed = NULL, published_between = NULL, rows = NULL,
  to_year = NULL, dc_type = NULL, how = "any")

Arguments

query

char any words that will be searched

start

int optional to set the starting paper

from_year

int optional to indicate starting year

peer_reviewed

logical optional, TRUE or FALSE

published_between

logical automatic if from_year or to_year are on

rows

int optional. number of papers to retrieve. max=1000

to_year

int optional to indicate end year

dc_type

char optional to indicate if journal, conference paper

how

char default="any". "all" will match exact words

Examples

# NOT RUN {
# Example 1
url_1 <- make_search_url(query = "flowing gradient survey", how = "all")
onepetro_page_to_dataframe(url_1)
# Example 2
url_2 <- make_search_url(query = "static  gradient survey", how = "all")
onepetro_page_to_dataframe(url_2)
# Example 3
url_3 <- make_search_url(query = "downhole flowrate measurement",
      how = "all", from_year = 1982, to_year = 2017)
onepetro_page_to_dataframe(url_3)
# }