Learn R Programming

onemapsgapi (version 1.1.0)

R Wrapper for the 'OneMap.Sg API'

Description

An R wrapper for the 'OneMap.Sg' API . Functions help users query data from the API and return raw JSON data in "tidy" formats. Support is also available for users to retrieve data from multiple API calls and integrate results into single dataframes, without needing to clean and merge the data themselves. This package is best suited for users who would like to perform analyses with Singapore's spatial data without having to perform excessive data cleaning.

Copy Link

Version

Install

install.packages('onemapsgapi')

Monthly Downloads

48

Version

1.1.0

License

MIT + file LICENSE

Maintainer

Jolene Lim

Last Published

November 29th, 2022

Functions in onemapsgapi (1.1.0)

get_travel

Get Travel Time, Distance and Route
get_token

Extract API token from OneMap.Sg
search_themes

Search for Themes available on OneMap.Sg
get_summ_route

Get Summary Route Information
get_pop_query

Get Population Data
get_planning_polygon

Get Planning Polygon for a Specific Point
get_theme_info

Get Theme Information
get_theme_status

Check Theme Status
get_pop_queries

Get Population Data (Multiple)
get_route

Get Route Information
get_theme

Get Theme Data from OneMap.Sg
get_planning_areas

Get Planning Areas (All)
get_planning_names

Get Planning Area Names