Learn R Programming

RTL (version 0.1.8)

getGIS: getGIS

Description

Returns a SpatialPointsDataFrame from a shapefile URL. @section Examples with EIA and Government of Alberta

  • from https://www.eia.gov/maps/layer_info-m.php :

  • crudepipelines <- getGIS(url = "https://www.eia.gov/maps/map_data/CrudeOil_Pipelines_US_EIA.zip")

  • refineries <- getGIS(url = "https://www.eia.gov/maps/map_data/Petroleum_Refineries_US_EIA.zip")

  • from https://gis.energy.gov.ab.ca/Geoview/OSPNG

  • AB <- getGIS(url = "https://gis.energy.gov.ab.ca/GeoviewData/OS_Agreements_Shape.zip")

Usage

getGIS(
  url = "https://gis.energy.gov.ab.ca/GeoviewData/OS_Agreements_Shape.zip"
)

Arguments

url

URL of the zipped shapefile

Value

SpatialPointsDataFrame

Examples

Run this code
# NOT RUN {
getGIS(url = "https://gis.energy.gov.ab.ca/GeoviewData/OS_Agreements_Shape.zip")
# }

Run the code above in your browser using DataLab