Package 'bagyo'

Title: Philippine Tropical Cyclones Data
Description: The Philippines frequently experiences tropical cyclones (called 'bagyo' in the Filipino language) because of its geographical position. These cyclones typically bring heavy rainfall, leading to widespread flooding, as well as strong winds that cause significant damage to human life, crops, and property. Data on cyclones are collected and curated by the Philippine Atmospheric, Geophysical, and Astronomical Services Administration or 'PAGASA' and made available through its website <https://bagong.pagasa.dost.gov.ph/tropical-cyclone/publications/annual-report>. This package contains Philippine tropical cyclones data in a machine-readable format. It is hoped that this data package provides an interesting and unique dataset for data exploration and visualisation.
Authors: Ernest Guevarra [aut, cre, cph]
Maintainer: Ernest Guevarra <[email protected]>
License: CC0
Version: 0.1.1.9000
Built: 2024-06-19 05:03:08 UTC
Source: https://github.com/panukatan/bagyo

Help Index


Find cyclones information

Description

Find cyclones information

Usage

find_bagyo(.year = NULL, .category = NULL)

Arguments

.year

An integer value for a year or a vector of years of cyclones data to retrieve. Default to NULL to retrieve all years.

.category

A character value or a vector of category code/s or category name/s to retrieve. Default to NULL to retrieve all categories

Value

A data.frame of cyclones information based on specified year and category

Examples

find_bagyo()
find_bagyo(.year = 2017)
find_bagyo(.category = "TD")
find_bagyo(.year = 2017, .category = "TD")

Get a cyclone name

Description

Randomly returns a cyclone name and prints additional information available from the package regarding the cyclone.

Usage

get_bagyo()

Value

A list of information regarding a randomly selected cyclone from the bagyo dataset.

Examples

get_bagyo()

print() helper function for get_bagyo() function

Description

print() helper function for get_bagyo() function

Usage

## S3 method for class 'bagyo'
print(x, ...)

Arguments

x

Object of class bagyo produced by get_bagyo() function

...

Additional print() arguments

Value

Printed output of get_bagyo() function

Examples

get_bagyo()