Published
Edited
May 20, 2022
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
endpoint = ({
description:'v1 Observations Species Counts',
method:'GET',
baseURL:'https://api.inaturalist.org/v1/observations/species_counts',
docURL:'https://api.inaturalist.org/v1/docs/#!/Observations/get_observations_species_counts',
})
Insert cell
// Target a 1 sec (1000 ms) delay between requests, to remain below iNaturalist's API request limits.
// For more info, see API Recommended Practices
apiRequestDelay = 1000
Insert cell
// These are example parameter strings.
// You could also save your own set of strings here for easy future reference.
exampleParams = [
{string:'quality_grade=needs_id&taxon_id=47126',description:'plant observations needing ID'},
{string:'year=2020&verifiable=true',description:'verifiable observations in 2020'},
]
Insert cell
// Normally, actions would be triggered with each keystroke in a standard input box.
// This provides a way for the entire set of parameters to be typed in before taking any action.
// An alternative to using an input box like this would be to just set the string as a cell value.
import {formWithSubmit} from "@forresto/form-input-with-submit"
Insert cell
// used for displaying data in a table
import {table} from "@tmcw/tables/2"
Insert cell
// used for charts and graphs
import { vl } from "@vega/vega-lite-api"
Insert cell
// used as the basic choropleth template
import { UsStateChoropleth, namemap, Legend } from "@d3/state-choropleth"
Insert cell
// library used for color scale
d3 = require("d3@6")
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more