Benjamin Wolfe Profile picture
#insurtech consultant researcher & community advocate—& inveterate data nerd. Chief Data Officer @ https://t.co/3Jux7tba0I. #RStats lover, #Python enthusiast, writer.
Mar 30, 2022 16 tweets 9 min read
A quick tweetorial on using #RStats to hit an API!

I used the {httr} & {jsonlite} pkgs to migrate 789 journal entries from my old platform to Notion. It's a great case study. I'm going to show you my building blocks. 🧱

You can use what I learned for any API project!

1/n 2/

First, I went to the "Getting Started" page of the Notion API docs. Makes sense, since I was getting started.

It told me crucial details like how to create an integration, give it permissions on a Notion DB, and get the DB ID.

developers.notion.com/docs/getting-s…