Git Product home page Git Product logo

geospatial-1's Introduction

geospatial

Travis-CI Build Status

An R package with the data sets used in the DataCamp course Working with Geospatial Data in R.

Installation

geospatial isn't on CRAN but you can get it with:

# install.packages("devtools")
devtools::install_github("cwickham/geospatial")

Usage

Datasets in this package have the same names as those in the course. For example, to replicate the very first plot in the first video:

library(geospatial)
library(ggplot2)
?sales # Chapter 1 sales data
head(sales)

ggplot(sales, aes(lon, lat)) + 
  geom_point()

Contents

This package contains the data sets corresponding to each chapter in the course as listed below.

Chapter 1:

  • sales - point data on sales in Corvallis
  • ward_sales - sales summarized at the ward level
  • preds - a grid of predictions over Corvallis

Chapter 2:

  • countries_sp
  • countries_spdf
  • tiny_countries_spdf

Chapter 3:

  • pop
  • pop_by_age
  • prop_by_age
  • migration
  • land_cover

Chapter 4:

  • neighborhoods
  • nyc_income
  • water
  • income_grid

Citations

If you use the data in this package please cite both this package and the original data source as listed in the relevant help file.

Data generation

If you are interested in how the data sets were constructed you'll find the scripts in the data-raw directory.

geospatial-1's People

Contributors

cwickham avatar

Watchers

 avatar

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.