From 7b5d4ba6239e7c1c615c4d188d5fa5f211980bd1 Mon Sep 17 00:00:00 2001 From: John Walker <67374091+jwal1024@users.noreply.github.com> Date: Fri, 18 Dec 2020 09:08:44 +1100 Subject: [PATCH 1/3] Create CCare_cost.csv Manually entered data, roadmap and copied relevant code from existing sim_1. --- jb/CCare_cost.csv | 313 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 313 insertions(+) create mode 100644 jb/CCare_cost.csv diff --git a/jb/CCare_cost.csv b/jb/CCare_cost.csv new file mode 100644 index 0000000..597e3f1 --- /dev/null +++ b/jb/CCare_cost.csv @@ -0,0 +1,313 @@ +state,base_quality,high_quality,age_cat,cost +Alabama,1,0,Infant,11400 +Alaska,1,0,Infant,16300 +Arizona,1,0,Infant,12500 +Arkansas,1,0,Infant,11000 +California,1,0,Infant,17900 +Colorado,1,0,Infant,14300 +Connecticut,1,0,Infant,18200 +Delaware,1,0,Infant,15200 +District of Colombia,1,0,Infant,20400 +Florida,1,0,Infant,14400 +Georgia,1,0,Infant,10800 +Hawaii,1,0,Infant,16200 +Idaho,1,0,Infant,10100 +Illinois,1,0,Infant,12800 +Indiana,1,0,Infant,14000 +Iowa,1,0,Infant,14500 +Kansas,1,0,Infant,17000 +Kentucky,1,0,Infant,12900 +Louisiana,1,0,Infant,11100 +Maine,1,0,Infant,16200 +Maryland ,1,0,Infant,21300 +Massachusetts,1,0,Infant,19900 +Michigan,1,0,Infant,11900 +Minnesota,1,0,Infant,16500 +Mississippi,1,0,Infant,12200 +Missouri,1,0,Infant,14600 +Montana,1,0,Infant,14400 +Nebraska,1,0,Infant,13400 +Nevada,1,0,Infant,11600 +New Hampshire,1,0,Infant,11800 +New Jersey,1,0,Infant,14100 +New Mexico,1,0,Infant,11200 +New York,1,0,Infant,19800 +North Carolina,1,0,Infant,12000 +North Dakota,1,0,Infant,13100 +Ohio,1,0,Infant,12200 +Oklahoma,1,0,Infant,14400 +Oregon,1,0,Infant,16100 +Pennsylvania,1,0,Infant,14900 +Rhode Island,1,0,Infant,17600 +South Carolina,1,0,Infant,11900 +South Dakota,1,0,Infant,8500 +Tennessee,1,0,Infant,14600 +Texas ,1,0,Infant,12900 +Utah,1,0,Infant,14200 +Vermont,1,0,Infant,17200 +Virginia,1,0,Infant,16600 +Washington ,1,0,Infant,16600 +West Virginia,1,0,Infant,14700 +Wisconsin,1,0,Infant,14400 +Wyoming,1,0,Infant,15000 +United States,1,0,Infant,14700 +Alabama,0,1,Infant,22200 +Alaska,0,1,Infant,36100 +Arizona,0,1,Infant,23400 +Arkansas,0,1,Infant,22500 +California,0,1,Infant,31100 +Colorado,0,1,Infant,26500 +Connecticut,0,1,Infant,34100 +Delaware,0,1,Infant,28700 +District of Colombia,0,1,Infant,34700 +Florida,0,1,Infant,25400 +Georgia,0,1,Infant,24600 +Hawaii,0,1,Infant,24900 +Idaho,0,1,Infant,24700 +Illinois,0,1,Infant,28600 +Indiana,0,1,Infant,23600 +Iowa,0,1,Infant,25900 +Kansas,0,1,Infant,30000 +Kentucky,0,1,Infant,25100 +Louisiana,0,1,Infant,22200 +Maine,0,1,Infant,27400 +Maryland ,0,1,Infant,35500 +Massachusetts,0,1,Infant,36000 +Michigan,0,1,Infant,28000 +Minnesota,0,1,Infant,28700 +Mississippi,0,1,Infant,20600 +Missouri,0,1,Infant,25900 +Montana,0,1,Infant,25000 +Nebraska,0,1,Infant,25800 +Nevada,0,1,Infant,27500 +New Hampshire,0,1,Infant,27000 +New Jersey,0,1,Infant,30300 +New Mexico,0,1,Infant,26400 +New York,0,1,Infant,33800 +North Carolina,0,1,Infant,22400 +North Dakota,0,1,Infant,25500 +Ohio,0,1,Infant,26700 +Oklahoma,0,1,Infant,20800 +Oregon,0,1,Infant,30400 +Pennsylvania,0,1,Infant,26600 +Rhode Island,0,1,Infant,29900 +South Carolina,0,1,Infant,24400 +South Dakota,0,1,Infant,22700 +Tennessee,0,1,Infant,24200 +Texas ,0,1,Infant,24700 +Utah,0,1,Infant,23400 +Vermont,0,1,Infant,28500 +Virginia,0,1,Infant,29300 +Washington ,0,1,Infant,29900 +West Virginia,0,1,Infant,23500 +Wisconsin,0,1,Infant,27300 +Wyoming,0,1,Infant,28500 +United States,0,1,Infant,27100 +Alabama,1,0,Toddler,8800 +Alaska,1,0,Toddler,14600 +Arizona,1,0,Toddler,9600 +Arkansas,1,0,Toddler,8800 +California,1,0,Toddler,13900 +Colorado,1,0,Toddler,11800 +Connecticut,1,0,Toddler,18200 +Delaware,1,0,Toddler,10300 +District of Colombia,1,0,Toddler,20400 +Florida,1,0,Toddler,8400 +Georgia,1,0,Toddler,8200 +Hawaii,1,0,Toddler,10700 +Idaho,1,0,Toddler,8700 +Illinois,1,0,Toddler,10900 +Indiana,1,0,Toddler,10100 +Iowa,1,0,Toddler,11400 +Kansas,1,0,Toddler,10000 +Kentucky,1,0,Toddler,8700 +Louisiana,1,0,Toddler,7600 +Maine,1,0,Toddler,14000 +Maryland ,1,0,Toddler,13600 +Massachusetts,1,0,Toddler,10700 +Michigan,1,0,Toddler,10200 +Minnesota,1,0,Toddler,11800 +Mississippi,1,0,Toddler,10200 +Missouri,1,0,Toddler,9800 +Montana,1,0,Toddler,9700 +Nebraska,1,0,Toddler,13400 +Nevada,1,0,Toddler,8800 +New Hampshire,1,0,Toddler,9600 +New Jersey,1,0,Toddler,10800 +New Mexico,1,0,Toddler,8500 +New York,1,0,Toddler,15400 +North Carolina,1,0,Toddler,8200 +North Dakota,1,0,Toddler,8900 +Ohio,1,0,Toddler,10000 +Oklahoma,1,0,Toddler,9500 +Oregon,1,0,Toddler,13900 +Pennsylvania,1,0,Toddler,11700 +Rhode Island,1,0,Toddler,13800 +South Carolina,1,0,Toddler,8600 +South Dakota,1,0,Toddler,8500 +Tennessee,1,0,Toddler,10500 +Texas ,1,0,Toddler,8300 +Utah,1,0,Toddler,10100 +Vermont,1,0,Toddler,14900 +Virginia,1,0,Toddler,9900 +Washington ,1,0,Toddler,11900 +West Virginia,1,0,Toddler,9700 +Wisconsin,1,0,Toddler,11300 +Wyoming,1,0,Toddler,15000 +United States,1,0,Toddler,11000 +Alabama,0,1,Toddler,17200 +Alaska,0,1,Toddler,27600 +Arizona,0,1,Toddler,18000 +Arkansas,0,1,Toddler,17300 +California,0,1,Toddler,23800 +Colorado,0,1,Toddler,20400 +Connecticut,0,1,Toddler,34100 +Delaware,0,1,Toddler,22100 +District of Colombia,0,1,Toddler,34700 +Florida,0,1,Toddler,19900 +Georgia,0,1,Toddler,19000 +Hawaii,0,1,Toddler,19200 +Idaho,0,1,Toddler,19200 +Illinois,0,1,Toddler,22100 +Indiana,0,1,Toddler,18200 +Iowa,0,1,Toddler,20100 +Kansas,0,1,Toddler,18800 +Kentucky,0,1,Toddler,19000 +Louisiana,0,1,Toddler,16900 +Maine,0,1,Toddler,23500 +Maryland ,0,1,Toddler,22200 +Massachusetts,0,1,Toddler,25200 +Michigan,0,1,Toddler,21500 +Minnesota,0,1,Toddler,22000 +Mississippi,0,1,Toddler,15800 +Missouri,0,1,Toddler,20000 +Montana,0,1,Toddler,19200 +Nebraska,0,1,Toddler,19700 +Nevada,0,1,Toddler,20900 +New Hampshire,0,1,Toddler,20800 +New Jersey,0,1,Toddler,23400 +New Mexico,0,1,Toddler,20200 +New York,0,1,Toddler,26300 +North Carolina,0,1,Toddler,17300 +North Dakota,0,1,Toddler,19500 +Ohio,0,1,Toddler,20500 +Oklahoma,0,1,Toddler,16000 +Oregon,0,1,Toddler,26100 +Pennsylvania,0,1,Toddler,20600 +Rhode Island,0,1,Toddler,23200 +South Carolina,0,1,Toddler,18700 +South Dakota,0,1,Toddler,17500 +Tennessee,0,1,Toddler,18600 +Texas ,0,1,Toddler,18900 +Utah,0,1,Toddler,18000 +Vermont,0,1,Toddler,24400 +Virginia,0,1,Toddler,22300 +Washington ,0,1,Toddler,22900 +West Virginia,0,1,Toddler,17900 +Wisconsin,0,1,Toddler,21000 +Wyoming,0,1,Toddler,24600 +United States,0,1,Toddler,20800 +Alabama,1,0,Preschool,7600 +Alaska,1,0,Preschool,11300 +Arizona,1,0,Preschool,7700 +Arkansas,1,0,Preschool,7700 +California,1,0,Preschool,9800 +Colorado,1,0,Preschool,9900 +Connecticut,1,0,Preschool,11100 +Delaware,1,0,Preschool,9300 +District of Colombia,1,0,Preschool,13900 +Florida,1,0,Preschool,7400 +Georgia,1,0,Preschool,6900 +Hawaii,1,0,Preschool,8200 +Idaho,1,0,Preschool,7300 +Illinois,1,0,Preschool,9900 +Indiana,1,0,Preschool,8500 +Iowa,1,0,Preschool,9900 +Kansas,1,0,Preschool,7800 +Kentucky,1,0,Preschool,8000 +Louisiana,1,0,Preschool,7100 +Maine,1,0,Preschool,9700 +Maryland ,1,0,Preschool,10500 +Massachusetts,1,0,Preschool,10700 +Michigan,1,0,Preschool,9200 +Minnesota,1,0,Preschool,9900 +Mississippi,1,0,Preschool,10200 +Missouri,1,0,Preschool,8800 +Montana,1,0,Preschool,9700 +Nebraska,1,0,Preschool,10200 +Nevada,1,0,Preschool,7900 +New Hampshire,1,0,Preschool,8500 +New Jersey,1,0,Preschool,10800 +New Mexico,1,0,Preschool,7900 +New York,1,0,Preschool,12500 +North Carolina,1,0,Preschool,7400 +North Dakota,1,0,Preschool,8900 +Ohio,1,0,Preschool,7700 +Oklahoma,1,0,Preschool,7900 +Oregon,1,0,Preschool,9600 +Pennsylvania,1,0,Preschool,9200 +Rhode Island,1,0,Preschool,11300 +South Carolina,1,0,Preschool,7300 +South Dakota,1,0,Preschool,8500 +Tennessee,1,0,Preschool,9200 +Texas ,1,0,Preschool,7300 +Utah,1,0,Preschool,7900 +Vermont,1,0,Preschool,10200 +Virginia,1,0,Preschool,9900 +Washington ,1,0,Preschool,10000 +West Virginia,1,0,Preschool,8700 +Wisconsin,1,0,Preschool,8900 +Wyoming,1,0,Preschool,15000 +United States,1,0,Preschool,9100 +Alabama,0,1,Preschool,13200 +Alaska,0,1,Preschool,20800 +Arizona,0,1,Preschool,13700 +Arkansas,0,1,Preschool,13100 +California,0,1,Preschool,18000 +Colorado,0,1,Preschool,15600 +Connecticut,0,1,Preschool,20100 +Delaware,0,1,Preschool,16800 +District of Colombia,0,1,Preschool,23300 +Florida,0,1,Preschool,15500 +Georgia,0,1,Preschool,14600 +Hawaii,0,1,Preschool,14500 +Idaho,0,1,Preschool,14700 +Illinois,0,1,Preschool,16900 +Indiana,0,1,Preschool,13900 +Iowa,0,1,Preschool,17300 +Kansas,0,1,Preschool,14300 +Kentucky,0,1,Preschool,14200 +Louisiana,0,1,Preschool,12700 +Maine,0,1,Preschool,15600 +Maryland ,0,1,Preschool,16800 +Massachusetts,0,1,Preschool,19100 +Michigan,0,1,Preschool,16300 +Minnesota,0,1,Preschool,16600 +Mississippi,0,1,Preschool,12000 +Missouri,0,1,Preschool,15300 +Montana,0,1,Preschool,16400 +Nebraska,0,1,Preschool,14800 +Nevada,0,1,Preschool,15700 +New Hampshire,0,1,Preschool,15900 +New Jersey,0,1,Preschool,17800 +New Mexico,0,1,Preschool,15300 +New York,0,1,Preschool,24200 +North Carolina,0,1,Preschool,13100 +North Dakota,0,1,Preschool,17700 +Ohio,0,1,Preschool,15600 +Oklahoma,0,1,Preschool,12200 +Oregon,0,1,Preschool,17500 +Pennsylvania,0,1,Preschool,15800 +Rhode Island,0,1,Preschool,18700 +South Carolina,0,1,Preschool,14300 +South Dakota,0,1,Preschool,13300 +Tennessee,0,1,Preschool,14800 +Texas ,0,1,Preschool,14300 +Utah,0,1,Preschool,13700 +Vermont,0,1,Preschool,16300 +Virginia,0,1,Preschool,16800 +Washington ,0,1,Preschool,17300 +West Virginia,0,1,Preschool,13400 +Wisconsin,0,1,Preschool,16000 +Wyoming,0,1,Preschool,16700 +United States,0,1,Preschool,15800 From 4969eb01a5f0d1e3ffe4c699c613857f56558906 Mon Sep 17 00:00:00 2001 From: John Walker <67374091+jwal1024@users.noreply.github.com> Date: Sat, 19 Dec 2020 16:08:04 +1100 Subject: [PATCH 2/3] Read me + move csv --- jb/{ => data}/CCare_cost.csv | 0 jb/data/README.md | 3 +++ 2 files changed, 3 insertions(+) rename jb/{ => data}/CCare_cost.csv (100%) create mode 100644 jb/data/README.md diff --git a/jb/CCare_cost.csv b/jb/data/CCare_cost.csv similarity index 100% rename from jb/CCare_cost.csv rename to jb/data/CCare_cost.csv diff --git a/jb/data/README.md b/jb/data/README.md new file mode 100644 index 0000000..29171fb --- /dev/null +++ b/jb/data/README.md @@ -0,0 +1,3 @@ +The data used in CCare_cost.csv was published by Simon Workman of the Center for American Progress on 2018/02/14 in Table 2 of the article: "Where Does Your Child Care Dollar Go? Understanding the True Cost of Quality Early Childhood Education". + +It is available from https://www.americanprogress.org/issues/early-childhood/reports/2018/02/14/446330/child-care-dollar-go/, accessed 12/19/2020. \ No newline at end of file From 193a5932a61c6699741a65b115ec0b949f37a0fc Mon Sep 17 00:00:00 2001 From: John Walker <67374091+jwal1024@users.noreply.github.com> Date: Wed, 13 Jan 2021 10:57:21 +1100 Subject: [PATCH 3/3] Data Cleaning Removed redundant columns, corrected some state titles. --- jb/child_allowance.py | 3 +- jb/child_allowance_costs.py | 111 +++++++ jb/data/CCare_cost.csv | 626 ++++++++++++++++++------------------ 3 files changed, 426 insertions(+), 314 deletions(-) create mode 100644 jb/child_allowance_costs.py diff --git a/jb/child_allowance.py b/jb/child_allowance.py index 3f14072..2e2edae 100644 --- a/jb/child_allowance.py +++ b/jb/child_allowance.py @@ -11,7 +11,8 @@ # Read in census data and specify columns for use raw = pd.read_csv( - "https://github.com/UBICenter/child-allowance/blob/master/jb/data/cps_00003.csv.gz", + "https://github.com/UBICenter/child-allowance/blob/master/jb/data/cps_00003.csv.gz?raw=true", + compression="gzip", usecols=[ "YEAR", "MONTH", diff --git a/jb/child_allowance_costs.py b/jb/child_allowance_costs.py new file mode 100644 index 0000000..eebfbb2 --- /dev/null +++ b/jb/child_allowance_costs.py @@ -0,0 +1,111 @@ +# Roadmap: +# Pull in the edited dataset +# Merge on State index using person-level child age indicator +# Create two rows per index (low and high quality) +# Calculate state-based outcomes. + + +# Preamble and read data +import microdf as mdf +import pandas as pd +import numpy as np +import us + +# Read in census data and specify columns for use +person_raw = pd.read_csv( + "https://github.com/UBICenter/child-allowance/blob/master/jb/data/cps_00003.csv.gz?raw=true", + compression="gzip", + usecols=[ + "YEAR", + "STATEFIP", + "AGE", + "SEX", + "SPMWT", + "SPMFTOTVAL", + "SPMTOTRES", + "SPMCHXPNS", + "SPMTHRESH", + "SPMFAMUNIT", + "ASECWT", + ], +) +person = person_raw.copy(deep=True) + +# Define child age identifiers +person["person"] = 1 +person["child_6"] = person.age < 6 +person["infant"] = person.age < 1 +person["toddler"] = person.age.between(1, 2) +person["preschool"] = person.age.between(3, 5) + +# Age categories for merge +person["age_cat"] = "over_5" +person.loc[(person.age < 1), "age_cat"] = "infant" +person.loc[(person.age.between(1, 2)), "age_cat"] = "toddler" +person.loc[(person.age.between(3, 5)), "age_cat"] = "preschool" + +# Create State categories +person["state"] = ( + pd.Series(person.statefip) + .apply(lambda x: us.states.lookup(str(x).zfill(2)).name) + .tolist() +) + +# Read in cost data +costs = pd.read_csv( + "https://github.com/UBICenter/child-allowance/blob/master/jb/data/CCare_cost.csv" +) + +# Merge datasets to calculate per-child cost +# Creates two rows per person (one base_quality +# and one high_quality with different costs) +person_costs = person.merge( + costs[ + [ + "state", + "high_quality", + "age_cat", + "cost", + ] + ], + how="left", + on=["state", "age_cat"], +) + +# Set over_5 cost of childcare to 0 +person_costs.loc[(person_costs.age_cat == "over_5"), "cost"] = 0 + +# Define data collected at the SPM unit level +SPMU_COLS = [ + "spmfamunit", + "spmwt", + "spmftotval", + "spmtotres", + "spmchxpns", + "spmthresh", + "year", +] + +SPMU_AGG_COLS = ["child_6", "infant", "toddler", "preschool", "person", "cost"] +spmu_quality = person_costs.groupby(SPMU_COLS + ["high_quality"])[ + SPMU_AGG_COLS +].sum() +spmu_quality.columns = ["spmu_" + i for i in SPMU_AGG_COLS] +spmu_quality.reset_index(inplace=True) + +# Calculate total cost of transfers, and total number of children +program_cost_high = mdf.weighted_sum( + spmu_quality[spmu_quality.high_quality], "cost", "spmwt" +) +program_cost_high = mdf.weighted_sum( + spmu_quality[~spmu_quality.high_quality], "cost", "spmwt" +) + +# Program costs also group by age category (sum inf + todd + preschool) +mdf.weighted_sum.groupby + +# New microdf groupby argument - have one program cost dataframe - won't need to filter just groupby + +# Groupby age_cat and highquality to get the weighted sums we are interested in. + +# Get total cost for Max. \ No newline at end of file diff --git a/jb/data/CCare_cost.csv b/jb/data/CCare_cost.csv index 597e3f1..df0d562 100644 --- a/jb/data/CCare_cost.csv +++ b/jb/data/CCare_cost.csv @@ -1,313 +1,313 @@ -state,base_quality,high_quality,age_cat,cost -Alabama,1,0,Infant,11400 -Alaska,1,0,Infant,16300 -Arizona,1,0,Infant,12500 -Arkansas,1,0,Infant,11000 -California,1,0,Infant,17900 -Colorado,1,0,Infant,14300 -Connecticut,1,0,Infant,18200 -Delaware,1,0,Infant,15200 -District of Colombia,1,0,Infant,20400 -Florida,1,0,Infant,14400 -Georgia,1,0,Infant,10800 -Hawaii,1,0,Infant,16200 -Idaho,1,0,Infant,10100 -Illinois,1,0,Infant,12800 -Indiana,1,0,Infant,14000 -Iowa,1,0,Infant,14500 -Kansas,1,0,Infant,17000 -Kentucky,1,0,Infant,12900 -Louisiana,1,0,Infant,11100 -Maine,1,0,Infant,16200 -Maryland ,1,0,Infant,21300 -Massachusetts,1,0,Infant,19900 -Michigan,1,0,Infant,11900 -Minnesota,1,0,Infant,16500 -Mississippi,1,0,Infant,12200 -Missouri,1,0,Infant,14600 -Montana,1,0,Infant,14400 -Nebraska,1,0,Infant,13400 -Nevada,1,0,Infant,11600 -New Hampshire,1,0,Infant,11800 -New Jersey,1,0,Infant,14100 -New Mexico,1,0,Infant,11200 -New York,1,0,Infant,19800 -North Carolina,1,0,Infant,12000 -North Dakota,1,0,Infant,13100 -Ohio,1,0,Infant,12200 -Oklahoma,1,0,Infant,14400 -Oregon,1,0,Infant,16100 -Pennsylvania,1,0,Infant,14900 -Rhode Island,1,0,Infant,17600 -South Carolina,1,0,Infant,11900 -South Dakota,1,0,Infant,8500 -Tennessee,1,0,Infant,14600 -Texas ,1,0,Infant,12900 -Utah,1,0,Infant,14200 -Vermont,1,0,Infant,17200 -Virginia,1,0,Infant,16600 -Washington ,1,0,Infant,16600 -West Virginia,1,0,Infant,14700 -Wisconsin,1,0,Infant,14400 -Wyoming,1,0,Infant,15000 -United States,1,0,Infant,14700 -Alabama,0,1,Infant,22200 -Alaska,0,1,Infant,36100 -Arizona,0,1,Infant,23400 -Arkansas,0,1,Infant,22500 -California,0,1,Infant,31100 -Colorado,0,1,Infant,26500 -Connecticut,0,1,Infant,34100 -Delaware,0,1,Infant,28700 -District of Colombia,0,1,Infant,34700 -Florida,0,1,Infant,25400 -Georgia,0,1,Infant,24600 -Hawaii,0,1,Infant,24900 -Idaho,0,1,Infant,24700 -Illinois,0,1,Infant,28600 -Indiana,0,1,Infant,23600 -Iowa,0,1,Infant,25900 -Kansas,0,1,Infant,30000 -Kentucky,0,1,Infant,25100 -Louisiana,0,1,Infant,22200 -Maine,0,1,Infant,27400 -Maryland ,0,1,Infant,35500 -Massachusetts,0,1,Infant,36000 -Michigan,0,1,Infant,28000 -Minnesota,0,1,Infant,28700 -Mississippi,0,1,Infant,20600 -Missouri,0,1,Infant,25900 -Montana,0,1,Infant,25000 -Nebraska,0,1,Infant,25800 -Nevada,0,1,Infant,27500 -New Hampshire,0,1,Infant,27000 -New Jersey,0,1,Infant,30300 -New Mexico,0,1,Infant,26400 -New York,0,1,Infant,33800 -North Carolina,0,1,Infant,22400 -North Dakota,0,1,Infant,25500 -Ohio,0,1,Infant,26700 -Oklahoma,0,1,Infant,20800 -Oregon,0,1,Infant,30400 -Pennsylvania,0,1,Infant,26600 -Rhode Island,0,1,Infant,29900 -South Carolina,0,1,Infant,24400 -South Dakota,0,1,Infant,22700 -Tennessee,0,1,Infant,24200 -Texas ,0,1,Infant,24700 -Utah,0,1,Infant,23400 -Vermont,0,1,Infant,28500 -Virginia,0,1,Infant,29300 -Washington ,0,1,Infant,29900 -West Virginia,0,1,Infant,23500 -Wisconsin,0,1,Infant,27300 -Wyoming,0,1,Infant,28500 -United States,0,1,Infant,27100 -Alabama,1,0,Toddler,8800 -Alaska,1,0,Toddler,14600 -Arizona,1,0,Toddler,9600 -Arkansas,1,0,Toddler,8800 -California,1,0,Toddler,13900 -Colorado,1,0,Toddler,11800 -Connecticut,1,0,Toddler,18200 -Delaware,1,0,Toddler,10300 -District of Colombia,1,0,Toddler,20400 -Florida,1,0,Toddler,8400 -Georgia,1,0,Toddler,8200 -Hawaii,1,0,Toddler,10700 -Idaho,1,0,Toddler,8700 -Illinois,1,0,Toddler,10900 -Indiana,1,0,Toddler,10100 -Iowa,1,0,Toddler,11400 -Kansas,1,0,Toddler,10000 -Kentucky,1,0,Toddler,8700 -Louisiana,1,0,Toddler,7600 -Maine,1,0,Toddler,14000 -Maryland ,1,0,Toddler,13600 -Massachusetts,1,0,Toddler,10700 -Michigan,1,0,Toddler,10200 -Minnesota,1,0,Toddler,11800 -Mississippi,1,0,Toddler,10200 -Missouri,1,0,Toddler,9800 -Montana,1,0,Toddler,9700 -Nebraska,1,0,Toddler,13400 -Nevada,1,0,Toddler,8800 -New Hampshire,1,0,Toddler,9600 -New Jersey,1,0,Toddler,10800 -New Mexico,1,0,Toddler,8500 -New York,1,0,Toddler,15400 -North Carolina,1,0,Toddler,8200 -North Dakota,1,0,Toddler,8900 -Ohio,1,0,Toddler,10000 -Oklahoma,1,0,Toddler,9500 -Oregon,1,0,Toddler,13900 -Pennsylvania,1,0,Toddler,11700 -Rhode Island,1,0,Toddler,13800 -South Carolina,1,0,Toddler,8600 -South Dakota,1,0,Toddler,8500 -Tennessee,1,0,Toddler,10500 -Texas ,1,0,Toddler,8300 -Utah,1,0,Toddler,10100 -Vermont,1,0,Toddler,14900 -Virginia,1,0,Toddler,9900 -Washington ,1,0,Toddler,11900 -West Virginia,1,0,Toddler,9700 -Wisconsin,1,0,Toddler,11300 -Wyoming,1,0,Toddler,15000 -United States,1,0,Toddler,11000 -Alabama,0,1,Toddler,17200 -Alaska,0,1,Toddler,27600 -Arizona,0,1,Toddler,18000 -Arkansas,0,1,Toddler,17300 -California,0,1,Toddler,23800 -Colorado,0,1,Toddler,20400 -Connecticut,0,1,Toddler,34100 -Delaware,0,1,Toddler,22100 -District of Colombia,0,1,Toddler,34700 -Florida,0,1,Toddler,19900 -Georgia,0,1,Toddler,19000 -Hawaii,0,1,Toddler,19200 -Idaho,0,1,Toddler,19200 -Illinois,0,1,Toddler,22100 -Indiana,0,1,Toddler,18200 -Iowa,0,1,Toddler,20100 -Kansas,0,1,Toddler,18800 -Kentucky,0,1,Toddler,19000 -Louisiana,0,1,Toddler,16900 -Maine,0,1,Toddler,23500 -Maryland ,0,1,Toddler,22200 -Massachusetts,0,1,Toddler,25200 -Michigan,0,1,Toddler,21500 -Minnesota,0,1,Toddler,22000 -Mississippi,0,1,Toddler,15800 -Missouri,0,1,Toddler,20000 -Montana,0,1,Toddler,19200 -Nebraska,0,1,Toddler,19700 -Nevada,0,1,Toddler,20900 -New Hampshire,0,1,Toddler,20800 -New Jersey,0,1,Toddler,23400 -New Mexico,0,1,Toddler,20200 -New York,0,1,Toddler,26300 -North Carolina,0,1,Toddler,17300 -North Dakota,0,1,Toddler,19500 -Ohio,0,1,Toddler,20500 -Oklahoma,0,1,Toddler,16000 -Oregon,0,1,Toddler,26100 -Pennsylvania,0,1,Toddler,20600 -Rhode Island,0,1,Toddler,23200 -South Carolina,0,1,Toddler,18700 -South Dakota,0,1,Toddler,17500 -Tennessee,0,1,Toddler,18600 -Texas ,0,1,Toddler,18900 -Utah,0,1,Toddler,18000 -Vermont,0,1,Toddler,24400 -Virginia,0,1,Toddler,22300 -Washington ,0,1,Toddler,22900 -West Virginia,0,1,Toddler,17900 -Wisconsin,0,1,Toddler,21000 -Wyoming,0,1,Toddler,24600 -United States,0,1,Toddler,20800 -Alabama,1,0,Preschool,7600 -Alaska,1,0,Preschool,11300 -Arizona,1,0,Preschool,7700 -Arkansas,1,0,Preschool,7700 -California,1,0,Preschool,9800 -Colorado,1,0,Preschool,9900 -Connecticut,1,0,Preschool,11100 -Delaware,1,0,Preschool,9300 -District of Colombia,1,0,Preschool,13900 -Florida,1,0,Preschool,7400 -Georgia,1,0,Preschool,6900 -Hawaii,1,0,Preschool,8200 -Idaho,1,0,Preschool,7300 -Illinois,1,0,Preschool,9900 -Indiana,1,0,Preschool,8500 -Iowa,1,0,Preschool,9900 -Kansas,1,0,Preschool,7800 -Kentucky,1,0,Preschool,8000 -Louisiana,1,0,Preschool,7100 -Maine,1,0,Preschool,9700 -Maryland ,1,0,Preschool,10500 -Massachusetts,1,0,Preschool,10700 -Michigan,1,0,Preschool,9200 -Minnesota,1,0,Preschool,9900 -Mississippi,1,0,Preschool,10200 -Missouri,1,0,Preschool,8800 -Montana,1,0,Preschool,9700 -Nebraska,1,0,Preschool,10200 -Nevada,1,0,Preschool,7900 -New Hampshire,1,0,Preschool,8500 -New Jersey,1,0,Preschool,10800 -New Mexico,1,0,Preschool,7900 -New York,1,0,Preschool,12500 -North Carolina,1,0,Preschool,7400 -North Dakota,1,0,Preschool,8900 -Ohio,1,0,Preschool,7700 -Oklahoma,1,0,Preschool,7900 -Oregon,1,0,Preschool,9600 -Pennsylvania,1,0,Preschool,9200 -Rhode Island,1,0,Preschool,11300 -South Carolina,1,0,Preschool,7300 -South Dakota,1,0,Preschool,8500 -Tennessee,1,0,Preschool,9200 -Texas ,1,0,Preschool,7300 -Utah,1,0,Preschool,7900 -Vermont,1,0,Preschool,10200 -Virginia,1,0,Preschool,9900 -Washington ,1,0,Preschool,10000 -West Virginia,1,0,Preschool,8700 -Wisconsin,1,0,Preschool,8900 -Wyoming,1,0,Preschool,15000 -United States,1,0,Preschool,9100 -Alabama,0,1,Preschool,13200 -Alaska,0,1,Preschool,20800 -Arizona,0,1,Preschool,13700 -Arkansas,0,1,Preschool,13100 -California,0,1,Preschool,18000 -Colorado,0,1,Preschool,15600 -Connecticut,0,1,Preschool,20100 -Delaware,0,1,Preschool,16800 -District of Colombia,0,1,Preschool,23300 -Florida,0,1,Preschool,15500 -Georgia,0,1,Preschool,14600 -Hawaii,0,1,Preschool,14500 -Idaho,0,1,Preschool,14700 -Illinois,0,1,Preschool,16900 -Indiana,0,1,Preschool,13900 -Iowa,0,1,Preschool,17300 -Kansas,0,1,Preschool,14300 -Kentucky,0,1,Preschool,14200 -Louisiana,0,1,Preschool,12700 -Maine,0,1,Preschool,15600 -Maryland ,0,1,Preschool,16800 -Massachusetts,0,1,Preschool,19100 -Michigan,0,1,Preschool,16300 -Minnesota,0,1,Preschool,16600 -Mississippi,0,1,Preschool,12000 -Missouri,0,1,Preschool,15300 -Montana,0,1,Preschool,16400 -Nebraska,0,1,Preschool,14800 -Nevada,0,1,Preschool,15700 -New Hampshire,0,1,Preschool,15900 -New Jersey,0,1,Preschool,17800 -New Mexico,0,1,Preschool,15300 -New York,0,1,Preschool,24200 -North Carolina,0,1,Preschool,13100 -North Dakota,0,1,Preschool,17700 -Ohio,0,1,Preschool,15600 -Oklahoma,0,1,Preschool,12200 -Oregon,0,1,Preschool,17500 -Pennsylvania,0,1,Preschool,15800 -Rhode Island,0,1,Preschool,18700 -South Carolina,0,1,Preschool,14300 -South Dakota,0,1,Preschool,13300 -Tennessee,0,1,Preschool,14800 -Texas ,0,1,Preschool,14300 -Utah,0,1,Preschool,13700 -Vermont,0,1,Preschool,16300 -Virginia,0,1,Preschool,16800 -Washington ,0,1,Preschool,17300 -West Virginia,0,1,Preschool,13400 -Wisconsin,0,1,Preschool,16000 -Wyoming,0,1,Preschool,16700 -United States,0,1,Preschool,15800 +state,high_quality,age_cat,cost +Alabama,0,infant,11400 +Alaska,0,infant,16300 +Arizona,0,infant,12500 +Arkansas,0,infant,11000 +California,0,infant,17900 +Colorado,0,infant,14300 +Connecticut,0,infant,18200 +Delaware,0,infant,15200 +District Of Colombia,0,infant,20400 +Florida,0,infant,14400 +Georgia,0,infant,10800 +Hawaii,0,infant,16200 +Idaho,0,infant,10100 +Illinois,0,infant,12800 +Indiana,0,infant,14000 +Iowa,0,infant,14500 +Kansas,0,infant,17000 +Kentucky,0,infant,12900 +Louisiana,0,infant,11100 +Maine,0,infant,16200 +Maryland ,0,infant,21300 +Massachusetts,0,infant,19900 +Michigan,0,infant,11900 +Minnesota,0,infant,16500 +Mississippi,0,infant,12200 +Missouri,0,infant,14600 +Montana,0,infant,14400 +Nebraska,0,infant,13400 +Nevada,0,infant,11600 +New Hampshire,0,infant,11800 +New Jersey,0,infant,14100 +New Mexico,0,infant,11200 +New York,0,infant,19800 +North Carolina,0,infant,12000 +North Dakota,0,infant,13100 +Ohio,0,infant,12200 +Oklahoma,0,infant,14400 +Oregon,0,infant,16100 +Pennsylvania,0,infant,14900 +Rhode Island,0,infant,17600 +South Carolina,0,infant,11900 +South Dakota,0,infant,8500 +Tennessee,0,infant,14600 +Texas ,0,infant,12900 +Utah,0,infant,14200 +Vermont,0,infant,17200 +Virginia,0,infant,16600 +Washington ,0,infant,16600 +West Virginia,0,infant,14700 +Wisconsin,0,infant,14400 +Wyoming,0,infant,15000 +United States,0,infant,14700 +Alabama,1,infant,22200 +Alaska,1,infant,36100 +Arizona,1,infant,23400 +Arkansas,1,infant,22500 +California,1,infant,31100 +Colorado,1,infant,26500 +Connecticut,1,infant,34100 +Delaware,1,infant,28700 +District Of Colombia,1,infant,34700 +Florida,1,infant,25400 +Georgia,1,infant,24600 +Hawaii,1,infant,24900 +Idaho,1,infant,24700 +Illinois,1,infant,28600 +Indiana,1,infant,23600 +Iowa,1,infant,25900 +Kansas,1,infant,30000 +Kentucky,1,infant,25100 +Louisiana,1,infant,22200 +Maine,1,infant,27400 +Maryland ,1,infant,35500 +Massachusetts,1,infant,36000 +Michigan,1,infant,28000 +Minnesota,1,infant,28700 +Mississippi,1,infant,20600 +Missouri,1,infant,25900 +Montana,1,infant,25000 +Nebraska,1,infant,25800 +Nevada,1,infant,27500 +New Hampshire,1,infant,27000 +New Jersey,1,infant,30300 +New Mexico,1,infant,26400 +New York,1,infant,33800 +North Carolina,1,infant,22400 +North Dakota,1,infant,25500 +Ohio,1,infant,26700 +Oklahoma,1,infant,20800 +Oregon,1,infant,30400 +Pennsylvania,1,infant,26600 +Rhode Island,1,infant,29900 +South Carolina,1,infant,24400 +South Dakota,1,infant,22700 +Tennessee,1,infant,24200 +Texas ,1,infant,24700 +Utah,1,infant,23400 +Vermont,1,infant,28500 +Virginia,1,infant,29300 +Washington ,1,infant,29900 +West Virginia,1,infant,23500 +Wisconsin,1,infant,27300 +Wyoming,1,infant,28500 +United States,1,infant,27100 +Alabama,0,toddler,8800 +Alaska,0,toddler,14600 +Arizona,0,toddler,9600 +Arkansas,0,toddler,8800 +California,0,toddler,13900 +Colorado,0,toddler,11800 +Connecticut,0,toddler,18200 +Delaware,0,toddler,10300 +District Of Colombia,0,toddler,20400 +Florida,0,toddler,8400 +Georgia,0,toddler,8200 +Hawaii,0,toddler,10700 +Idaho,0,toddler,8700 +Illinois,0,toddler,10900 +Indiana,0,toddler,10100 +Iowa,0,toddler,11400 +Kansas,0,toddler,10000 +Kentucky,0,toddler,8700 +Louisiana,0,toddler,7600 +Maine,0,toddler,14000 +Maryland ,0,toddler,13600 +Massachusetts,0,toddler,10700 +Michigan,0,toddler,10200 +Minnesota,0,toddler,11800 +Mississippi,0,toddler,10200 +Missouri,0,toddler,9800 +Montana,0,toddler,9700 +Nebraska,0,toddler,13400 +Nevada,0,toddler,8800 +New Hampshire,0,toddler,9600 +New Jersey,0,toddler,10800 +New Mexico,0,toddler,8500 +New York,0,toddler,15400 +North Carolina,0,toddler,8200 +North Dakota,0,toddler,8900 +Ohio,0,toddler,10000 +Oklahoma,0,toddler,9500 +Oregon,0,toddler,13900 +Pennsylvania,0,toddler,11700 +Rhode Island,0,toddler,13800 +South Carolina,0,toddler,8600 +South Dakota,0,toddler,8500 +Tennessee,0,toddler,10500 +Texas ,0,toddler,8300 +Utah,0,toddler,10100 +Vermont,0,toddler,14900 +Virginia,0,toddler,9900 +Washington ,0,toddler,11900 +West Virginia,0,toddler,9700 +Wisconsin,0,toddler,11300 +Wyoming,0,toddler,15000 +United States,0,toddler,11000 +Alabama,1,toddler,17200 +Alaska,1,toddler,27600 +Arizona,1,toddler,18000 +Arkansas,1,toddler,17300 +California,1,toddler,23800 +Colorado,1,toddler,20400 +Connecticut,1,toddler,34100 +Delaware,1,toddler,22100 +District Of Colombia,1,toddler,34700 +Florida,1,toddler,19900 +Georgia,1,toddler,19000 +Hawaii,1,toddler,19200 +Idaho,1,toddler,19200 +Illinois,1,toddler,22100 +Indiana,1,toddler,18200 +Iowa,1,toddler,20100 +Kansas,1,toddler,18800 +Kentucky,1,toddler,19000 +Louisiana,1,toddler,16900 +Maine,1,toddler,23500 +Maryland ,1,toddler,22200 +Massachusetts,1,toddler,25200 +Michigan,1,toddler,21500 +Minnesota,1,toddler,22000 +Mississippi,1,toddler,15800 +Missouri,1,toddler,20000 +Montana,1,toddler,19200 +Nebraska,1,toddler,19700 +Nevada,1,toddler,20900 +New Hampshire,1,toddler,20800 +New Jersey,1,toddler,23400 +New Mexico,1,toddler,20200 +New York,1,toddler,26300 +North Carolina,1,toddler,17300 +North Dakota,1,toddler,19500 +Ohio,1,toddler,20500 +Oklahoma,1,toddler,16000 +Oregon,1,toddler,26100 +Pennsylvania,1,toddler,20600 +Rhode Island,1,toddler,23200 +South Carolina,1,toddler,18700 +South Dakota,1,toddler,17500 +Tennessee,1,toddler,18600 +Texas ,1,toddler,18900 +Utah,1,toddler,18000 +Vermont,1,toddler,24400 +Virginia,1,toddler,22300 +Washington ,1,toddler,22900 +West Virginia,1,toddler,17900 +Wisconsin,1,toddler,21000 +Wyoming,1,toddler,24600 +United States,1,toddler,20800 +Alabama,0,preschool,7600 +Alaska,0,preschool,11300 +Arizona,0,preschool,7700 +Arkansas,0,preschool,7700 +California,0,preschool,9800 +Colorado,0,preschool,9900 +Connecticut,0,preschool,11100 +Delaware,0,preschool,9300 +District Of Colombia,0,preschool,13900 +Florida,0,preschool,7400 +Georgia,0,preschool,6900 +Hawaii,0,preschool,8200 +Idaho,0,preschool,7300 +Illinois,0,preschool,9900 +Indiana,0,preschool,8500 +Iowa,0,preschool,9900 +Kansas,0,preschool,7800 +Kentucky,0,preschool,8000 +Louisiana,0,preschool,7100 +Maine,0,preschool,9700 +Maryland ,0,preschool,10500 +Massachusetts,0,preschool,10700 +Michigan,0,preschool,9200 +Minnesota,0,preschool,9900 +Mississippi,0,preschool,10200 +Missouri,0,preschool,8800 +Montana,0,preschool,9700 +Nebraska,0,preschool,10200 +Nevada,0,preschool,7900 +New Hampshire,0,preschool,8500 +New Jersey,0,preschool,10800 +New Mexico,0,preschool,7900 +New York,0,preschool,12500 +North Carolina,0,preschool,7400 +North Dakota,0,preschool,8900 +Ohio,0,preschool,7700 +Oklahoma,0,preschool,7900 +Oregon,0,preschool,9600 +Pennsylvania,0,preschool,9200 +Rhode Island,0,preschool,11300 +South Carolina,0,preschool,7300 +South Dakota,0,preschool,8500 +Tennessee,0,preschool,9200 +Texas ,0,preschool,7300 +Utah,0,preschool,7900 +Vermont,0,preschool,10200 +Virginia,0,preschool,9900 +Washington ,0,preschool,10000 +West Virginia,0,preschool,8700 +Wisconsin,0,preschool,8900 +Wyoming,0,preschool,15000 +United States,0,preschool,9100 +Alabama,1,preschool,13200 +Alaska,1,preschool,20800 +Arizona,1,preschool,13700 +Arkansas,1,preschool,13100 +California,1,preschool,18000 +Colorado,1,preschool,15600 +Connecticut,1,preschool,20100 +Delaware,1,preschool,16800 +District Of Colombia,1,preschool,23300 +Florida,1,preschool,15500 +Georgia,1,preschool,14600 +Hawaii,1,preschool,14500 +Idaho,1,preschool,14700 +Illinois,1,preschool,16900 +Indiana,1,preschool,13900 +Iowa,1,preschool,17300 +Kansas,1,preschool,14300 +Kentucky,1,preschool,14200 +Louisiana,1,preschool,12700 +Maine,1,preschool,15600 +Maryland ,1,preschool,16800 +Massachusetts,1,preschool,19100 +Michigan,1,preschool,16300 +Minnesota,1,preschool,16600 +Mississippi,1,preschool,12000 +Missouri,1,preschool,15300 +Montana,1,preschool,16400 +Nebraska,1,preschool,14800 +Nevada,1,preschool,15700 +New Hampshire,1,preschool,15900 +New Jersey,1,preschool,17800 +New Mexico,1,preschool,15300 +New York,1,preschool,24200 +North Carolina,1,preschool,13100 +North Dakota,1,preschool,17700 +Ohio,1,preschool,15600 +Oklahoma,1,preschool,12200 +Oregon,1,preschool,17500 +Pennsylvania,1,preschool,15800 +Rhode Island,1,preschool,18700 +South Carolina,1,preschool,14300 +South Dakota,1,preschool,13300 +Tennessee,1,preschool,14800 +Texas ,1,preschool,14300 +Utah,1,preschool,13700 +Vermont,1,preschool,16300 +Virginia,1,preschool,16800 +Washington ,1,preschool,17300 +West Virginia,1,preschool,13400 +Wisconsin,1,preschool,16000 +Wyoming,1,preschool,16700 +United States,1,preschool,15800