{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# List Objects in Production\n", "\n", "**Task:** Connect to the DataONE production environment, retrieve the list of Objects, and print out the list." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "First, load the `dataone` R package and connect to the production Coordinating Node:\n" ] }, { "cell_type": "code", "execution_count": 23, "metadata": {}, "outputs": [], "source": [ "library(dataone)\n", "cn <- CNode()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "`listObjects` accepts a number of optional arguments (see `?listObjects`) such as `count` which controls the number of objects that are returned:" ] }, { "cell_type": "code", "execution_count": 18, "metadata": {}, "outputs": [ { "data": { "text/html": [ "