Extract text of press release from the Philippines Department of Health website

get_doh_release(df)

Arguments

df

A data.frame created using get_pr_url providing values for relative URL of press release/s, unique identifier of press release and, date of issue of press release.

Value

A tibble containing text of the press release with additional information on line number, type of text, unique identifier and date of press release.

Examples

prURL <- get_doh_links(base = "http://www.doh.gov.ph/press-releases", pages = 1) get_doh_release(df = prURL[1, ])
#> # A tibble: 49 x 6 #> linenumber text source type id date #> <int> <chr> <chr> <chr> <dbl> <date> #> 1 1 DOH TO DEPUTIZE MED GRADS TO ASS… DOH press r… 4158 2020-05-19 #> 2 2 Press Release/18 May 2020 Consis… DOH press r… 4158 2020-05-19 #> 3 3 11469 or the “Bayanihan to Heal … DOH press r… 4158 2020-05-19 #> 4 4 of 1959,” the Department of Heal… DOH press r… 4158 2020-05-19 #> 5 5 2020-0169 last Saturday, which a… DOH press r… 4158 2020-05-19 #> 6 6 practice of medicine as deputize… DOH press r… 4158 2020-05-19 #> 7 7 of registration from the Profess… DOH press r… 4158 2020-05-19 #> 8 8 in the President the power “to e… DOH press r… 4158 2020-05-19 #> 9 9 complement or supplement the cur… DOH press r… 4158 2020-05-19 #> 10 10 R.A. 2382 stipulates “Medical gr… DOH press r… 4158 2020-05-19 #> # … with 39 more rows