The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

The phscs Package

R-CMD-check CRAN status

The goal of phscs is to provide a unified interface to access and manipulate various Philippine statistical classifications, such as the Philippine Standard Geographic Code (PSGC), Philippine Standard Industrial Classification (PSIC), Philippine Standard Occupational Classification (PSOC), and others.

It allows users to retrieve, filter, and harmonize classification data from the Philippine Statistics Authority (PSA)’s open-access data and other sources, making it easier to work with Philippine statistical data in R.

Installation

Install from CRAN:

install.packages("phscs")

You can also install the development version of phscs from GitHub using the pak package:

# install.packages("pak")
pak::pak("yng-me/phscs")

Usage

library(phscs)

# Retrieve Philippine Standard Geographic Code (PSGC) data
psgc_data <- get_psgc()
head(psgc_data)

# Retrieve Philippine Standard Industrial Classification (PSIC) data
psic_data <- get_psic()
head(psic_data)

# Retrieve Philippine Standard Occupational Classification (PSOC) data
psoc_data <- get_psoc()
head(psoc_data)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.