class_docstr: US Census Geocoder REST Services
  =======================
  The Census Geocoder is an address look-up tool that converts your address to an approximate coordinate (latitude/longitude) and returns information about the address range that includes the address and the census geography the address is within. The geocoder is available as a web interface and as an API (Representational State Transfer - REST - web-based service).
  
  API Reference
  -------------
  https://geocoding.geo.census.gov/geocoder/Geocoding_Services_API.html
class_docstr_tok: ["US","Census","Geocoder","REST","Services","=======================","The","Census","Geocoder","is","an","address","look-up","tool","that","converts","your","address","to","an","approximate","coordinate","(","latitude\/longitude",")","and","returns","information","about","the","address","range","that","includes","the","address","and","the","census","geography","the","address","is","within",".","The","geocoder","is","available","as","a","web","interface","and","as","an","API","(","Representational","State","Transfer","-","REST","-","web-based","service",")",".","API","Reference","--","--","--","--","--","--","-","https",":","\/\/geocoding.geo.census.gov\/geocoder\/Geocoding_Services_API.html"]
code: def generate_batch(self, locations):
      out = csv_io()
      writer = csv.writer(out)
  
      for idx, address in enumerate(locations):
          writer.writerow([idx, address, None, None, None])
  
      return csv_encode(out.getvalue())
  
file_path: geocoder/geocoder/uscensus_batch.py
imports: from __future__ import absolute_import
  from geocoder.base import OneResult, MultipleResultsQuery
  import logging
  import io
  import csv
  import sys
  import requests
label_desc: Use image node_id 1 for calling the USCensusBatch obj's underlying member method code with example usage: obj.generate_batch(locations) and returns: csv_encode