Description Usage Arguments Note Examples
View source: R/basic_actions.R
Query CrunchBase via a GET request. All of the CrunchBase API's functionality comes through GET requests. This function collects any query parameters and GETs the resulting URL
1 | crunchbase_GET(path, ...)
|
path |
A query endpoint, presented either as a single string (e.g. "people" or "person/johndoe") or as a vector that drills down a hierarchy (e.g. c("person", "johndoe")) |
... |
any other query parameters, see https://developer.crunchbase.com/docs for details |
crunchbase_GET
keeps track of API calls and will automatically
pause a query for the appropriate amount of time in order to keep from making
more than 44 calls per minute. Furthermore, results are cached for the length
of your R session (using memoise
). To make it easier to use the API
collections filters (currently only applies to organization queries), you can
pass data.frame
s directly to crunchbase_GET
, as long as it
contains columns named "type" and "uuid," as the locations
and
categories
collections do.
1 2 | x <- crunchbase_GET(c("people", "bill-gates"))
x <- crunchbase_GET("people/bill-gates")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.