Run this notebook

Use Livebook to open this notebook and explore new ideas.

It is easy to get started, on your machine or the cloud.

Click below to open and run it in your Livebook at .

(or change your Livebook location)

# ROR ```elixir Mix.install([{:ror, ">= 0.1.0"}]) Logger.configure(level: :info) alias ROR.{Admin,Client,Domain,ExternalID,Filter,ID,Link,Location,Match,Matches,Name,Organization,Relationship,Results,Status,Type} ``` ## Getting a record ```elixir org = ROR.get!("https://ror.org/04h699437") ``` ## Listing Organizations ```elixir results = ROR.list!(page: 2) ``` ## Using Results ```elixir results = ROR.list!(page: 1) Results.number_of_results(results) ``` ```elixir results |> Enum.sort_by(&(&1.established), :asc) |> Enum.map(fn o -> "#{o.id} was established in #{o.established}" end) ``` ## Quick Search/Queries ```elixir results = ROR.quick_search!("Berlin") ``` ## Advanced Search ```elixir results = ROR.search!("names.value:Cornell AND locations.geonames_details.name:Ithaca") ``` ## Chosen Organization Matches ```elixir ROR.chosen_organization!("Department of Civil and Industrial Engineering, University of Pisa, Largo Lucio Lazzarino 2, Pisa 56126, Italy") ```
See source

Have you already installed Livebook?

If you already installed Livebook, you can configure the default Livebook location where you want to open notebooks.
Livebook up Checking status We can't reach this Livebook (but we saved your preference anyway)
Run notebook

Not yet? Install Livebook in just a minute

Livebook is open source, free, and ready to run anywhere.

Run on your machine

with Livebook Desktop

Run in the cloud

on select platforms

To run on Linux, Docker, embedded devices, or Elixir’s Mix, check our README.

PLATINUM SPONSORS
SPONSORS
Code navigation with go to definition of modules and functions Read More ×