Description Usage Arguments Examples
A function to find census key, chart addresses, and evaluates whether the address is within the CDFI opportunity zones (OZ).
To run this function you must obtain a google API key by setting up an account here (https://developers.google.com/maps/documentation/embed/get-api-key).
Created by Steven J. Barbeaux January 25, 2019
1 2 3 |
ADDRESS |
is the vector of address/es which can be input singularly following the format: |
ZOOM |
allows one to change the scale of the map from 1 (lowest resolution) to 20 (highest resolution). |
OZ_CHECK |
set to TRUE causes the program to evaluate whether the property is within a CDFI OZ, FALSE skips this check. |
MAP |
set to TRUE outputs map to either the screen or to PDF as described below. |
PDF |
set to TRUE outputs a PDF file with the sattelite maps, one page per address. FALSE plots the maps in an R window. |
PDF_NAME |
is the name of the PDF file to be exported. |
XL_OUT |
set to TRUE exports an Excel file to the working directory of the addresses with Census tract id and OZ determination. |
XL_NAME |
set to the name of the Excel file you wish to write, this program will over write any files of the same name. |
API_KEY |
is the google API key for google maps. |
1 | MAP_OZ()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.