json_changes.Rd
This function checks whether JSON responses for specified variables in the CPS-Basic Microdata change across a range of years and months in the Census API. It fetches the JSON data for each variable for each year and month in the given range and compares it to the previous month's JSON to detect changes.
json_changes(variable_list, year_range)
A list of variable names for which the JSON data will be fetched and compared.
A vector of years over which the JSON data should be checked for changes.
A data frame with columns 'variable', 'year', 'month', 'same_as_previous', and 'found'. Each row corresponds to a variable, a year, and a month. 'same_as_previous' is TRUE if the JSON data for that variable, year, and month is the same as the previous month's data, and FALSE otherwise. The 'found' column indicates if the data was found for that month.