cgDf: Return dataframe object rom CartegraphA PI

Description Usage Arguments Value Examples

Description

Return dataframe object rom CartegraphA PI

Usage

1
2
cgDf(class, fields = "", filter = "", un, pw, org,
  base_url = "https://cgweb06.cartegraphoms.com/")

Arguments

class

cartegraph class name

fields

fields you want returned

filter

optional filter

un

api username

pw

api password

org

orginization API ID ie 'PittsburghPA'

base_url

API Base URL (defaulted to "https://cgweb06.cartegraphoms.com/")

Value

data.frame

Examples

1
2
3
4
5
6
## Not run: 
pools <- cgDf("PoolsClass",
"Oid,IDField,NeighborhoodField,PoolCapacityField,PoolTypeField,RetiredField,WaterSourceField",
un = "fakeUn", pw = "fakePwd", org = "AnytownUSA")

## End(Not run)

CityofPittsburgh/caRtegraph documentation built on June 18, 2019, 11:14 a.m.