GithubHelp home page GithubHelp logo

path-global-health / pathtools Goto Github PK

View Code? Open in Web Editor NEW
3.0 7.0 2.0 1.96 MB

R package for cross-portfolio code and resources

Home Page: https://path-global-health.github.io/PATHtools/

License: GNU General Public License v3.0

R 100.00%

pathtools's Introduction

PATHtools

The goal of PATHtools is to provide a common set of miscellanous R functions and assets that could be used by any R-based analytical work. This will allow us to share common resources, which will prevent duplicate coding and version-control issues.

This is a public repository, which means that there will never be private or protected data and/or code contained within this package.

Installation

The PATHtools package is hosted on Github and constantly under development. You can install the package like so:

install.packages("devtools")
devtools::install_github("PATH-Global-Health/PATHtools")

Examples

library(PATHtools)

# Shapefiles --------------------
# Check for available shapefiles
available_shapefile(country = "Senegal")
available_shapefile(admin_level = 2)

# Load shapefile
shp <- load_shapefile(country = "Nigeria", admin_level = 1)
plot(shp)

# Save GeoJSON file locally
load_shapefile(country = "Nigeria", admin_level = 1, download = TRUE)

Contributing

Requesting features

You can suggest new ideas or requests for features by opening an issue on Github. Please provide as much description and examples as possible, and link to external sources (if possible). We will use Issue to discuss developing new features, and document progress.

Providing new functions

Before starting a new contribution, please check the existing issues and open a new issue if needed. You can add new code to the package by creating a new fork and submitting a pull request (PR). Please reference the issue your PR is addressing, and run devtools::check() before submission.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.