geocoder_curl_input: Create Census Geocoder Input Files and Curl Submission File

View source: R/geocoder_curl.R

geocoder_curl_inputR Documentation

Create Census Geocoder Input Files and Curl Submission File

Description

This function takes a dataframe and creates a series of 10,000 line input text files to be uploaded to the Census Geocoder for batch geocoding. It also creates a text file in which curl commands are written.

Usage

geocoder_curl_input(
  df,
  input_path = ".",
  input_prefix = NULL,
  output_path = ".",
  output_prefix = NULL,
  curl_path = ".",
  curl_file = NULL,
  curl_append = FALSE,
  benchmark = "Public_AR_Census2010",
  vintage = "Census2010_Census2010"
)

Arguments

df

Input dataframe.

input_path

File path for input text files.

input_prefix

File prefix for input text files.

output_path

File path for output text files.

output_prefix

File prefix for output text files.

curl_path

File path for curl command file.

curl_file

File name for curl command file, without the extension.

curl_append

Whether to append an existing curl file.

benchmark

The benchmark selection for Census Geocoder.

vintage

The vintage selection for Census Geocoder.


sysilviakim/Kmisc documentation built on Jan. 28, 2023, 10:58 a.m.