knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
Access Hubspot CRM data in R
The goal of hubspot
is to enable access to Hubspot CRM data. It uses the Hubspot API.
All functions are named following a hs_<endpointname>_raw()
/hs_<endpointname>_tidy()
, with hs_<endpointname>_tidy()
offering at least one view: e.g. get a nested list of deals data with hs_deals_raw()
and transform it to a tibble of associations, properties history, properties or stages history using hs_deals_tidy()
.
Refer to the online reference to see what endpoints are supported at the moment. Feel free to suggest new "getters" (hs_<endpointname>_raw()
) and tidier options (view
of hs_<endpointname>_tidy()
) in the issue tracker.
library("hubspot") deal_props <- hs_deal_properties_tidy() head(deal_props) deals <- hs_deals_raw(properties = deal_props, max_iter = 1)
details::details(deals, summary = "Click to see the <code>deals</code> nested list")
deal_stages <- hs_deals_tidy(deals, view = "properties") deal_stages
remotes::install_github("lockedata/hubspot")
Find more details on each method in the vignette about authorization.
Wanna report a bug or suggest a feature? Great stuff! For more information on how to contribute check out our contributing guide.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.