US Census
Overview
The United States government makes available data collected by the
us census bureau.
The
US Census Data - API Users Guide
provides information about finding and using data provided by the US Census Bureau. Data is provided as a service which can
be retrieved through a URL.
A sample URL is provided :
https://api.census.gov/data/2014/pep/natstprc?get=STNAME,POP&DATE_=7&for=state:*
URL Link
Importing into Davinci
Once you have the URL that points to the data you wish to download, there are multiple ways to import the data into
davinci.
- Using the Data App
- Scripting - using the
scripting app
and the
$url
function, the following script will download the data
let data = await $url("https://api.census.gov/data/2014/pep/natstprc?get=STNAME,POP&DATE_=7&for=state:*");
Try it!
- Census Data App - provides a graphical user interface
to retrieving census data
For more information about importing and using data within davinci, please see the
data corner