gatsby-source-arcgis-hub

1.0.2 • Public • Published

gatsby-source-arcgis-hub

A Gatsby source plugin for pulling datasets from an ArcGIS Hub open data site into your site schema.

Install

yarn add gatsby-source-arcgis-hub

Example

// In gatsby-config.js
plugins: [
  {
    resolve: `gatsby-source-arcgis-hub`,
    options: {
      siteUrl: `https://data.detroitmi.gov`,
    },
  },
]

How it works

The plugin fetches the data.json file at the root of every ArcGIS Hub open data portal. This contains information about the datasets shared on the portal; from there, it makes a call to http://opendata.arcgis.com/api/v3/datasets/ endpoint to get more information about each dataset.

Package Sidebar

Install

npm i gatsby-source-arcgis-hub

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

2.96 kB

Total Files

5

Last publish

Collaborators

  • jmcbroom