Description Usage Arguments Details Value
Function makes a request to FSE data system.
1 2 3 4 5 6 7 8 9 10 11 12 13 | fse_api(
query = c("aircraft", "assignments", "commodities", "Facilities", "fbos",
"flightlogs", "group", "icao", "payments", "statistics"),
search = c("status", "configs", "aliases", "forsale", "makemodel", "ownername",
"registration", "key", "forsale", "monthlysummary", "monthyear", "id", "members",
"aircraft", "fbo", "fbos", "jobsto", "jobsfrom"),
format = c("csv", "xml"),
...,
content_as = "parsed"
)
## S3 method for class 'fse_api'
print(x, ...)
|
query |
argument |
search |
argument |
format |
either |
... |
other arguments, see Details |
content_as |
character, passed to |
x |
object returned by |
Requests to FSE data feeds require at least specyfying format
and
query
URL arguments. Possible values of these arguments are specified
in the synopsis. Do note that not all possible combinations make sense. Other
arguments, which are feed-specific can be passed through ...
. See FSE
feed documentation for details.
Arguments format
and content_as
can be used to further
customize the output format.
A list of class "fse_api" with the following components:
content |
a data frame or |
query |
a list with query parameters used in the request |
response |
the result of the request, as returned by httr:: |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.