Skip to contents

Process earthquake information from PHIVOLCS bulletins

Usage

eq_process_bulletins(eq_df)

Arguments

eq_df

A tibble of earthquake information from PHIVOLCS bulletins retrieved using eq_get_bulletins().

Value

A tibble of processed earthquake information from PHIVOLCS bulletins.

Examples

urls <- eq_get_bulletin_urls()
eq_get_bulletins(urls[1:3]) |>
  eq_process_bulletins()
#> # A tibble: 3 × 14
#>   date_time           bulletin_number longitude latitude depth magnitude
#>   <dttm>                        <int>     <dbl>    <dbl> <int>     <dbl>
#> 1 2024-08-20 04:58:39               1      8.02     127.    11       2  
#> 2 2024-08-20 04:54:10               1      8.38     127.     9       1.7
#> 3 2024-08-20 04:53:45               1      8.22     127.    14       1.5
#> # ℹ 8 more variables: magnitude_type <chr>, reported_intensity <chr>,
#> #   location <chr>, origin <chr>, expect_damage <chr>,
#> #   expect_aftershocks <chr>, date_time_issued <dttm>, prepared_by <chr>