Skip to contents

Retrieves current processing times for USCIS forms

Usage

uscis_processing_times(form_offices, cookie_file = "uscis.cookies")

Arguments

form_offices

Data frame from uscis_form_offices()

Path to cookie file

Value

A tibble with the following columns:

form_name

Factor. The name/identifier of the USCIS form

form_subtype

Factor. The subtype of the form being processed

office_code

Factor. The USCIS office location code

publication_date

Character. Date when the processing time information was published

form_note_en

Character or NA. Additional form notes in English

form_note_es

Character or NA. Additional form notes in Spanish

range_upper

Numeric. Upper bound of the processing time range

range_upper_unit

Factor. Time unit for the upper bound (e.g., "Months", "Days")

range_lower

Numeric. Lower bound of the processing time range

range_lower_unit

Factor. Time unit for the lower bound (e.g., "Months", "Days")

service_request_date

Character. Date when service request can be submitted if outside normal processing time

subtype_info_en

Character. Additional information about the form subtype in English

subtype_info_es

Character. Additional information about the form subtype in Spanish

Note

All date fields are returned in character format and may need to be converted to Date objects. Factor columns are created to optimize memory usage and ensure consistent categories across the dataset.

Examples

if (FALSE) { # \dontrun{
# Initialize USCIS session
uscis_init_session()

# Retrieve USCIS forms
forms <- uscis_forms()

# Retrieve form types based on form names
form_types <- uscis_form_types(forms)

# Retrieve processing offices for each form type
offices <- uscis_form_offices(form_types)

# Retrieve processing times for each form and office
processing_times <- uscis_processing_times(offices)
head(processing_times)
} # }