UBC-MDS / gdphelperR

gdphelperR: Make sense of Canadian GDP data

Home Page:https://ubc-mds.github.io/gdphelperR/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gdphelperR

R-CMD-check codecov

The goal of gdphelperR is to take the url of any of the several dozen GDP-related csv datasets from the Canadian Government Open Data Portal and download, clean load, summarize and visualize the data contained within.

  • gdpimporterr: Downloads the zipped data, extracts, renames the appropriate csv, and returns a dataframe along with the title from the meta data.
  • gdpcleanerr: Loads the data, removes spurious columns, renames used columns, scrubs and data issues. Returns a basic data frame and some category flags.
  • gdpdescriberr : Evaluates the data category and generates summary statistics by year, region, industry, etc.
  • gdpplotterr: Generates a set of visualizations of the data set according to the user's choices.

This package is built upon a bunch of popular packages in R ecosystem, including ggplot, dplyr and other packages in the tidyverse. What makes this package unique is that it incorporates the common functionalities and streamlines the workflow from downloading the data to performing simple EDA, specifically for the GDP-related data from the Canadian Government Open Data Portal.

Installation

You can install the released version of gdphelperR from GitHub with:

# install.packages("devtools")
devtools::install_github("UBC-MDS/gdphelperR")

Usage

to import our package:

library(gdphelperR)

For a detailed usage example, please refer to our vignette: https://ubc-mds.github.io/gdphelperR/articles/my-vignette.html

Contributors

Contributing

Interested in contributing? Check out the contributing guidelines.

Code of Conduct

Please note that the gdphelperR project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

gdphelperR was created by Aldo Barros, Gabriel Fairbrother, Ramiro Mejia, Wanying Ye. It is licensed under the terms of the MIT license.

About

gdphelperR: Make sense of Canadian GDP data

https://ubc-mds.github.io/gdphelperR/index.html

License:Other


Languages

Language:R 100.0%