Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions statvar_imports/finance_ipeds/finance_ipeds_metadata.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
parameter,value
output_columns,"observationDate,value,observationAbout,variableMeasured,unit"
dc_api_root,https://api.datacommons.org
4,765 changes: 4,765 additions & 0 deletions statvar_imports/finance_ipeds/finance_ipeds_output.csv

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions statvar_imports/finance_ipeds/finance_ipeds_output.tmcf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Node: E:finance_ipeds_output->E0
observationDate: C:finance_ipeds_output->observationDate
value: C:finance_ipeds_output->value
observationAbout: C:finance_ipeds_output->observationAbout
variableMeasured: C:finance_ipeds_output->variableMeasured
unit: C:finance_ipeds_output->unit
typeOf: dcs:StatVarObservation
2,942 changes: 2,942 additions & 0 deletions statvar_imports/finance_ipeds/finance_ipeds_output_stat_vars.mcf

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,282 @@
Node: dcid:institutionLevel
typeOf: dcs:Property
name: "institutionLevel"
domainIncludes: dcid:ExpenditureActivity
rangeIncludes: dcid:CollegeOrUniversityLevelEnum
isProvisional: dcs:True

Node: dcid:institutionControl
typeOf: dcs:Property
name: "institutionControl"
domainIncludes: dcid:ExpenditureActivity
rangeIncludes: dcid:InstitutionControlEnum
isProvisional: dcs:True

Node: dcid:InstitutionControlEnum
typeOf: schema:Class
subClassOf: dcs:Enumeration
name: "InstitutionControlEnum"
isProvisional: dcs:True

Node: dcid:PublicInstitution
typeOf: dcid:InstitutionControlEnum
name: "Public Institution"
isProvisional: dcs:True

Node: dcid:revenueSource
typeOf: dcs:Property
name: "revenueSource"
domainIncludes: dcid:ExpenditureActivity
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The revenueSource property is missing a rangeIncludes. Based on the values used in finance_ipeds_pvmap.csv (e.g., TotalRevenueInvestmentReturn, TuitionAndFees), which are defined as typeOf: dcid:RevenueSourceEnum, it would be beneficial for schema validation and clarity to add rangeIncludes: dcid:RevenueSourceEnum.

domainIncludes: dcid:ExpenditureActivity
rangeIncludes: dcid:RevenueSourceEnum


Node: dcid:TotalRevenueInvestmentReturn
typeOf: dcid:RevenueSourceEnum
name: "Total Revenue Investment Return"
isProvisional: dcs:True

Node: dcid:LessThanTwoYear
typeOf: dcid:CollegeOrUniversityLevelEnum
name: "Less Than Two Year"
isProvisional: dcs:True

Node: dcid:revenueType
typeOf: dcs:Property
name: "revenueType"
domainIncludes: dcid:ExpenditureActivity
rangeIncludes: dcid:ProvisionalNode
isProvisional: dcs:True

Node: dcid:TotalOperatingRevenues
typeOf: dcid:RevenueSourceEnum
name: "Total Operating Revenues"
isProvisional: dcs:True

Node: dcid:TuitionAndFees
typeOf: dcid:RevenueSourceEnum
name: "Tuition And Fees"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The capitalization in the name property seems inconsistent across the file. For example, "Tuition And Fees" and "Grants And Contracts" use a capitalized "And". For better readability and consistency, it's common practice to lowercase conjunctions like "and", "of", etc. in titles. Please consider changing this to "Tuition and Fees". This applies to other similar names in this file.

name: "Tuition and Fees"

isProvisional: dcs:True

Node: dcid:GrantsAndContracts
typeOf: dcid:RevenueSourceEnum
name: "Grants And Contracts"
isProvisional: dcs:True

Node: dcid:FederalFundingExcludesFDSLLoans
typeOf: dcid:RevenueSourceEnum
name: "Federal Funding Excludes FDSLLoans"
isProvisional: dcs:True

Node: dcid:StateFunding
typeOf: dcid:RevenueSourceEnum
name: "State Funding"
isProvisional: dcs:True

Node: dcid:LocalFunding
typeOf: dcid:RevenueSourceEnum
name: "Local Funding"
isProvisional: dcs:True

Node: dcid:PrivateFunding
typeOf: dcid:RevenueSourceEnum
name: "Private Funding"
isProvisional: dcs:True

Node: dcid:SalesAndServicesOfAuxiliaryEnterprises
typeOf: dcid:RevenueSourceEnum
name: "Sales And Services Of Auxiliary Enterprises"
isProvisional: dcs:True

Node: dcid:HospitalSales
typeOf: dcid:RevenueSourceEnum
name: "Hospital Sales"
isProvisional: dcs:True

Node: dcid:EducationalSales
typeOf: dcid:RevenueSourceEnum
name: "Educational Sales"
isProvisional: dcs:True

Node: dcid:IndependentOperations
typeOf: dcid:RevenueSourceEnum
name: "Independent Operations"
isProvisional: dcs:True

Node: dcid:OtherOperatingRevenues
typeOf: dcid:RevenueSourceEnum
name: "Other Operating Revenues"
isProvisional: dcs:True

Node: dcid:TotalNonOperatingRevenues
typeOf: dcid:RevenueSourceEnum
name: "Total Non Operating Revenues"
isProvisional: dcs:True

Node: dcid:NonOperating
typeOf: dcid:ProvisionalNode
name: "Non Operating"
isProvisional: dcs:True

Node: dcid:FederalFunding
typeOf: dcid:RevenueSourceEnum
name: "Federal Funding"
isProvisional: dcs:True

Node: dcid:Appropriations
typeOf: dcid:ProvisionalNode
name: "Appropriations"
isProvisional: dcs:True

Node: dcid:NonOperatingGrants
typeOf: dcid:ProvisionalNode
name: "Non Operating Grants"
isProvisional: dcs:True

Node: dcid:Gifts
typeOf: dcid:RevenueSourceEnum
name: "Gifts"
isProvisional: dcs:True

Node: dcid:InvestmentIncome
typeOf: dcid:RevenueSourceEnum
name: "Investment Income"
isProvisional: dcs:True

Node: dcid:OtherNonOperatingRevenue
typeOf: dcid:RevenueSourceEnum
name: "Other Non Operating Revenue"
isProvisional: dcs:True

Node: dcid:TotalOtherRevenues
typeOf: dcid:RevenueSourceEnum
name: "Total Other Revenues"
isProvisional: dcs:True

Node: dcid:CapitalAppropriations
typeOf: dcid:RevenueSourceEnum
name: "Capital Appropriations"
isProvisional: dcs:True

Node: dcid:CapitalGrantsGifts
typeOf: dcid:RevenueSourceEnum
name: "Capital Grants Gifts"
isProvisional: dcs:True

Node: dcid:AdditionsPermanent
typeOf: dcid:RevenueSourceEnum
name: "Additions Permanent"
isProvisional: dcs:True

Node: dcid:OtherRevenues
typeOf: dcid:RevenueSourceEnum
name: "Other Revenues"
isProvisional: dcs:True

Node: dcid:TotalExpenses
typeOf: dcid:ExpenditureTypeEnum
name: "Total Expenses"
isProvisional: dcs:True

Node: dcid:Instruction
typeOf: dcid:ExpenditureTypeEnum
name: "Instruction"
isProvisional: dcs:True

Node: dcid:expenditureType
typeOf: dcs:Property
name: "expenditureType"
rangeIncludes: dcid:InvestmentProgramEnum,dcid:ConsumerGoodsCategoryEnum
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The rangeIncludes for the expenditureType property seems incorrect. It's currently set to dcid:InvestmentProgramEnum,dcid:ConsumerGoodsCategoryEnum. However, the values used in finance_ipeds_pvmap.csv for this property (e.g., TotalExpenses, Instruction) are defined in this file as being of typeOf: dcid:ExpenditureTypeEnum. Please correct the rangeIncludes to dcid:ExpenditureTypeEnum.

rangeIncludes: dcid:ExpenditureTypeEnum


Node: dcid:PublicService
typeOf: dcid:ExpenditureTypeEnum
name: "Public Service"
isProvisional: dcs:True

Node: dcid:AcademicSupport
typeOf: dcid:ExpenditureTypeEnum
name: "Academic Support"
isProvisional: dcs:True

Node: dcid:StudentServices
typeOf: dcid:ExpenditureTypeEnum
name: "Student Services"
isProvisional: dcs:True

Node: dcid:InstitutionalSupport
typeOf: dcid:ExpenditureTypeEnum
name: "Institutional Support"
isProvisional: dcs:True

Node: dcid:ScholarshipFellowships
typeOf: dcid:ExpenditureTypeEnum
name: "Scholarship Fellowships"
isProvisional: dcs:True

Node: dcid:AuxiliaryEnterprises
typeOf: dcid:ExpenditureTypeEnum
name: "Auxiliary Enterprises"
isProvisional: dcs:True

Node: dcid:OtherExpensesAndDeductions
typeOf: dcid:ExpenditureTypeEnum
name: "Other Expenses And Deductions"
isProvisional: dcs:True

Node: dcid:PrivateNonProfitInstitution
typeOf: dcid:InstitutionControlEnum
name: "Private Non Profit Institution"
isProvisional: dcs:True

Node: dcid:GovernmentAppropriations
typeOf: dcid:ProvisionalNode
name: "Government Appropriations"
isProvisional: dcs:True

Node: dcid:GovernmentGrantsAndContracts
typeOf: dcid:ProvisionalNode
name: "Government Grants And Contracts"
isProvisional: dcs:True

Node: dcid:PrivateGrantsAndContracts
typeOf: dcid:RevenueSourceEnum
name: "Private Grants And Contracts"
isProvisional: dcs:True

Node: dcid:AffiliatedEntities
typeOf: dcid:RevenueSourceEnum
name: "Affiliated Entities"
isProvisional: dcs:True

Node: dcid:InvestmentReturn
typeOf: dcid:RevenueSourceEnum
name: "Investment Return"
isProvisional: dcs:True

Node: dcid:HospitalRevenue
typeOf: dcid:RevenueSourceEnum
name: "Hospital Revenue"
isProvisional: dcs:True

Node: dcid:IndependentOperationsRevenue
typeOf: dcid:RevenueSourceEnum
name: "Independent Operations Revenue"
isProvisional: dcs:True

Node: dcid:GrantAid
typeOf: dcid:ExpenditureTypeEnum
name: "Grant Aid"
isProvisional: dcs:True

Node: dcid:OtherExpenses
typeOf: dcid:ExpenditureTypeEnum
name: "Other Expenses"
isProvisional: dcs:True

Node: dcid:PrivateForProfitInstitution
typeOf: dcid:InstitutionControlEnum
name: "Private For Profit Institution"
isProvisional: dcs:True

Node: dcid:InvestmentIncomeAndGains
typeOf: dcid:RevenueSourceEnum
name: "Investment Income And Gains"
isProvisional: dcs:True

66 changes: 66 additions & 0 deletions statvar_imports/finance_ipeds/finance_ipeds_pvmap.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
key,p1,v1,p2,v2,p3,v3,p4,v4
4-year,institutionLevel,FourYear,populationType,ExpenditureActivity
2-year,institutionLevel,TwoYear,populationType,ExpenditureActivity
Less-than-2-year,institutionLevel,LessThanTwoYear,populationType,ExpenditureActivity
in thousands,value,{Number},#Eval,"value=1000*int(re.sub(r'[$,—#]', '', Data))",unit,USDollar
Percent,value,{Number},unit,Percent
Public institutions,institutionControl,PublicInstitution,#Header,institutionControl
nonprofit institutions,institutionControl,PrivateNonProfitInstitution,#Header,institutionControl
for-profit institutions,institutionControl,PrivateForProfitInstitution,#Header,institutionControl
Total revenues and investment return,measuredProperty,revenue,revenueSource,TotalRevenueInvestmentReturn
Operating revenues,measuredProperty,revenue,revenueType,Operating,revenueSource,TotalOperatingRevenues,#Header,revenueType
Nonoperating revenues,measuredProperty,revenue,revenueType,NonOperating,revenueSource,TotalNonOperatingRevenues,#Header,revenueType
Total other revenues and additions2,measuredProperty,revenue,revenueSource,TotalOtherRevenues
Total expenses,measuredProperty,expenditure,expenditureType,TotalExpenses
grants and contracts,measuredProperty,revenue,revenueSource,GrantsAndContracts
Appropriations,measuredProperty,revenue,revenueType,Appropriations,#Header,revenueType
Nonoperating grants,measuredProperty,revenue,revenueType,NonOperatingGrants,#Header,revenueType
Tuition and fees,measuredProperty,revenue,revenueSource,TuitionAndFees
Federal (excludes FDSL loans),measuredProperty,revenue,revenueSource,FederalFundingExcludesFDSLLoans
State,measuredProperty,revenue,revenueSource,StateFunding
Local,measuredProperty,revenue,revenueSource,LocalFunding
Operating revenues:Private,measuredProperty,revenue,revenueSource,PrivateFunding
Sales and services of auxiliary enterprises,measuredProperty,revenue,revenueSource,SalesAndServicesOfAuxiliaryEnterprises,,,,
Sales and services of hospitals,measuredProperty,revenue,revenueSource,HospitalSales,,,,
Sales and services of educational activities,measuredProperty,revenue,revenueSource,EducationalSales,,,,
Independent operations,measuredProperty,revenue,revenueSource,IndependentOperations,,,,
Other operating revenues,measuredProperty,revenue,revenueSource,OtherOperatingRevenues,,,,
Federal,measuredProperty,revenue,revenueSource,FederalFunding,,,,
Gifts,measuredProperty,revenue,revenueSource,Gifts,,,,
Investment income,measuredProperty,revenue,revenueSource,InvestmentIncome,,,,
Other nonoperating revenues,measuredProperty,revenue,revenueSource,OtherNonOperatingRevenue,,,,
Capital appropriations,measuredProperty,revenue,revenueSource,CapitalAppropriations,,,,
Capital grants and gifts,measuredProperty,revenue,revenueSource,CapitalGrantsGifts,,,,
Additions to permanent endowments,measuredProperty,revenue,revenueSource,AdditionsPermanent,,,,
Other revenues and additions,measuredProperty,revenue,revenueSource,OtherRevenues,,,,
Instruction,measuredProperty,expenditure,expenditureType,Instruction,,,,
Research,measuredProperty,expenditure,expenditureType,Research,,,,
Public service,measuredProperty,expenditure,expenditureType,PublicService,,,,
Academic support,measuredProperty,expenditure,expenditureType,AcademicSupport,,,,
Student services,measuredProperty,expenditure,expenditureType,StudentServices,,,,
Institutional support,measuredProperty,expenditure,expenditureType,InstitutionalSupport,,,,
Scholarships and fellowships,measuredProperty,expenditure,expenditureType,ScholarshipFellowships,,,,
Auxiliary enterprises,measuredProperty,expenditure,expenditureType,AuxiliaryEnterprises,,,,
Hospital services,measuredProperty,expenditure,expenditureType,HospitalServices,,,,
Other expenses and deductions,measuredProperty,expenditure,expenditureType,OtherExpensesAndDeductions,,,,
Government appropriations,measuredProperty,revenue,revenueType,GovernmentAppropriations,#Header,revenueType,,
Government grants and contracts,measuredProperty,revenue,revenueType,GovernmentGrantsAndContracts,#Header,revenueType,,
Private gifts,measuredProperty,revenue,revenueSource,Gifts,,,,
Private grants and contracts,measuredProperty,revenue,revenueSource,PrivateGrantsAndContracts,,,,
Contributions from affiliated entities,measuredProperty,revenue,revenueSource,AffiliatedEntities,,,,
Investment return,measuredProperty,revenue,revenueSource,InvestmentReturn,,,,
Independent operations revenue,measuredProperty,revenue,revenueSource,IndependentOperationsRevenue,,,,
Other revenue3,measuredProperty,revenue,revenueSource,OtherRevenues,,,,
Net grant aid to students,measuredProperty,expenditure,expenditureType,GrantAid,,,,
Other expenses,measuredProperty,expenditure,expenditureType,OtherExpenses,,,,
Investment income and investment gains (losses),measuredProperty,revenue,revenueSource,InvestmentIncomeAndGains,,,,
Hospital revenue,measuredProperty,revenue,revenueSource,HospitalRevenue,,,,
"United States, fiscal year 2015",observationAbout,country/USA,observationDate,2015
"United States, fiscal year 2016",observationAbout,country/USA,observationDate,2016
"United States, fiscal year 2017",observationAbout,country/USA,observationDate,2017
"United States, fiscal year 2018",observationAbout,country/USA,observationDate,2018
"United States, fiscal year 2019",observationAbout,country/USA,observationDate,2019
"United States, fiscal year 2020",observationAbout,country/USA,observationDate,2020
"United States, fiscal year 2021",observationAbout,country/USA,observationDate,2021
"United States, fiscal year 2022",observationAbout,country/USA,observationDate,2022
"United States, fiscal year 2023",observationAbout,country/USA,observationDate,2023
Loading
Loading