Get URLs of Philippines Department of Foreign Affairs (DFA) press releases

get_dfa_links(
  base = "https://www.dfa.gov.ph/dfa-news/dfa-releasesupdate",
  type
)

Arguments

base

Base URL for press releases in the Department of Foreign Affairs website. Default is https://www.dfa.gov.ph/dfa-news/dfa-releasesupdate

type

Type of text contained in the URLs. This can be one of the following: resolution, press release, advisory, statement, etc.

Value

A tibble containing information on title of the press release, release date of press release and the absolute URL link to press release

Examples

get_dfa_links(type = "press release")
#> # A tibble: 2,352 x 6 #> id title date source type url #> <chr> <chr> <date> <chr> <chr> <chr> #> 1 26801 DFA Reopens Embassy in… 2020-05-15 DFA press… https://www.dfa.gov.p… #> 2 26791 DFA Consular Office in… 2020-05-13 DFA press… https://www.dfa.gov.p… #> 3 26787 DFA Resumes Repatriati… 2020-05-11 DFA press… https://www.dfa.gov.p… #> 4 26786 DFA Consular Office in… 2020-05-11 DFA press… https://www.dfa.gov.p… #> 5 26785 DFA Consular Office in… 2020-05-11 DFA press… https://www.dfa.gov.p… #> 6 26784 DFA Consular Office in… 2020-05-11 DFA press… https://www.dfa.gov.p… #> 7 26783 PH Receives Additional… 2020-05-10 DFA press… https://www.dfa.gov.p… #> 8 26781 PH and ROK Hold Senior… 2020-05-08 DFA press… https://www.dfa.gov.p… #> 9 26777 Philippines Joins APEC… 2020-05-07 DFA press… https://www.dfa.gov.p… #> 10 26776 DFA, DOH Receive PPEs,… 2020-05-07 DFA press… https://www.dfa.gov.p… #> # … with 2,342 more rows