Revision Notes for FRED 7.8

7.8.1

The following features were added in FRED version 7.8.1.

  • Compiler warning messages for all deprecated features.

  • Updated documentation.

  • Bug fixes and efficiency improvements.

7.8.0

The following features were added in FRED version 7.8.0:

  • The new variable-type, table, has been added. See Chapter 5 of the guide.

  • int(<expression>) - returns the integer part of the value of the expression

  • percentile(<expression>, <sorted_list_expression>) - returns a real number between 0.0 and 100.0 reflecting the percent of the values in the sorted list expression that are less than or equal to the value of the first argument. The second argument is assumed to be a list sorted in ascending order. If it is not, the result is arbitrary.

  • Several factors have been deprecated in favor of function calls. See details below.

  • Symbolic names have been added for all county and state locations.

  • Output file buffering has been enabled to reduce the frequency of file I/O ooperations.

  • Compiler warnings have been added for all deprecated features.

  • The following commands now take an option -w 0 to suppress warning messages:

    $ fred_compile <options> -w 0
    $ fred_job <options> -w 0
    $ run_fred <options> -w 0
    
  • Bug fixes and efficiency improvements.

Notes

The following factors are now deprecated. The list below shows a new function to the left of the ← that is equivalent to the deprecated factor on the right:

  • current_state(condition_name)current_state_in_<condition_name>

  • transmissions(<condition_name>)transmissions_of_<condition_name>

  • source(<condition_name>)source_of_<condition_name>

  • current_count(<condition_name>.<state_name>)current_count_of_<condition_name>.<state_name>

  • total_count(<condition_name>.<state_name>)total_count_of_<condition_name>.<state_name>

  • daily_count(<condition_name>.<state_name>)incidence_count_of_<condition_name>.<state_name>

  • admin_id(<group_name>)admin_of_<group_name>

  • income(<group_name>)income_of_<group_name>

  • size(<group_name>)size_of_<group_name>

  • adi_national_rank(<place_name>)adi_national_rank_of_<place_name>

  • adi_state_rank(<place_name>)adi_state_rank_of_<place_name>

  • block_group(<place_name>)block_group_of_<place_name>

  • census_tract(<place_name>)census_tract_of_<place_name>

  • county(<place_name>)county_of_<place_name>

  • state(<place_name>)state_of_<place_name>

  • latitude(<place_name>)latitude_of_<place_name>

  • longitude(<place_name>)longitude_of_<place_name>

  • elevation(<place_name>)elevation_of_<place_name>

  • size(inlinks(<network_name>))degree_of_<network_name>

  • size(inlinks(<network_name>))in_degree_of_<network_name>

  • size(outlinks(<network_name>))out_degree_of_<network_name>

The following factors have deprecated because they can be derived from other expressions:

  • sum_of_<variable_name>_in_<group_name>sum(apply(members(<group_name>), ask(_, <variable_name>))

  • age_in_weeksage_in_days / 7

  • age_in_monthsage_in_days / 30

  • time_since_entering_<condition_name>.<state_name> - replace by using a personal variable

  • average_of_<variable_name>_in_<group_name> - compute sum then divide by size

  • current_percent_of_<condition_name>.<state_name>_in_<group_name> - compute count then divide by size

  • incidence_percent_of_<condition_name>.<state_name>_in_<group_name> - compute count then divide by size

  • total_percent_of_<condition_name>.<state_name>_in_<group_name> - compute count then divide by size

  • size_quartile_of_<group_name> - use percentile function

  • income_quartile_of_<group_name> - use percentile function

  • elevation_quartile_of_<group_name> - use percentile function

  • size_quintile_of_<group_name> - use percentile function

  • income_quintile_of_<group_name> - use percentile function

  • elevation_quintile_of_<group_name> - use percentile function

  • last_inward_edge_in_<network_name> - use variable

  • last_outward_edge_in_<network_name> - use variable

  • inward_edge_with_max_weight_in_<network_name> - use variable

  • outward_edge_with_max_weight_in_<network_name> - use variable

  • inward_edge_with_min_edge_in_<network_name> - use variable

  • outward_edge_with_min_weight_in_<network_name> - use variable