Skip to content

Commit

Permalink
update readme to install arcgis instead of arcgislayers. closes #135
Browse files Browse the repository at this point in the history
  • Loading branch information
JosiahParry committed Feb 1, 2024
1 parent b61a676 commit cc48616
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ The goal of `{arcgislayers}` is to provide an R interface to the ArcGIS REST API

## Installation

You can install the development version of arcgis like so:
arcgislayers requires arcgisutils for authorization. It is recommend you install and use the metapackage `{arcgis}`. You can install the development version of arcgis like so:

``` r
pak::pkg_install("R-ArcGIS/arcgislayers", dependencies = TRUE)
remotes::install_github("r-arcgis/arcgis", dependencies = TRUE)
```

## Basic usage
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,20 @@ REST API

## Installation

You can install the development version of arcgis like so:
arcgislayers requires arcgisutils for authorization. It is recommend you
install and use the metapackage `{arcgis}`. You can install the
development version of arcgis like so:

``` r
pak::pkg_install("R-ArcGIS/arcgislayers", dependencies = TRUE)
remotes::install_github("r-arcgis/arcgis", dependencies = TRUE)
```

## Basic usage

``` r
library(arcgis)
#> Attaching core arcgis packages:
#> - {arcgisutils} v0.1.0
#> - {arcgisutils} v0.1.1.9001
#> - {arcgislayers} v0.1.0
```

Expand All @@ -49,7 +51,7 @@ furl <- "https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services/USA_C
county_fl <- arc_open(furl)

county_fl
#> <FeatureLayer <3143 features, 12 fields>>
#> <FeatureLayer>
#> Name: USA Counties - Generalized
#> Geometry Type: esriGeometryPolygon
#> CRS: 4326
Expand Down

0 comments on commit cc48616

Please sign in to comment.