cgAttachment: Get a single primary Attachment

Description Usage Arguments Value Examples

View source: R/getData.R

Description

Get a single primary Attachment

Usage

1
2
cgAttachment(class, filename, Oid, un, pw, org,
  base_url = "https://cgweb06.cartegraphoms.com/")

Arguments

class

class requesting attachment from

filename

output file name, names not ending in ".jpg" will have value appended.

Oid

Oid of the attachment

un

api username

pw

api password

org

orginization API ID ie 'PittsburghPA'

base_url

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

Value

A saved jpeg image

Examples

1
2
3
4
5
6
7
8
## Not run: 
cgAttachment("cgFacilitiesClass",
    Oid = 31459,
    un = "fakeUn",
    pw = "fakePwd",
    org = "AnytownUSA")

## End(Not run)

CityofPittsburgh/caRtegraph documentation built on March 3, 2020, 10:59 p.m.