Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create C# representation of CovidOptOut.cs #14

Open
zo0o0ot opened this issue Aug 14, 2020 · 2 comments
Open

Create C# representation of CovidOptOut.cs #14

zo0o0ot opened this issue Aug 14, 2020 · 2 comments
Labels
enhancement New feature or request hacktoberfest This issue can be a part of Hacktoberfest!

Comments

@zo0o0ot
Copy link
Contributor

zo0o0ot commented Aug 14, 2020

Data regarding NCAA conference participation in football games is represented in CovidOptOut.cs.

Using CSVHelper, create a way to get this data into the program. In this case, we only need to read the information in. We do not need to write this information back out to a file.

Probable field names:

  • conference
  • fallFootball
  • springFootball

There are examples of implementations for this, for example, in School.cs:

using CsvHelper.Configuration;
namespace prospectScraper
{
public class School
{
public string schoolName;
public string conference;
public string state;
public School () {}
public School (string schoolName, string conference, string state)
{
this.schoolName = schoolName;
this.conference = conference;
this.state = state;
}
}
public sealed class SchoolCsvMap : ClassMap<School>
{
public SchoolCsvMap()
{
Map(m => m.schoolName).Name("School");
Map(m => m.conference).Name("Conference");
Map(m => m.state).Name("State");
}
}
}

@zo0o0ot zo0o0ot added enhancement New feature or request help wanted Extra attention is needed hacktoberfest This issue can be a part of Hacktoberfest! labels Aug 14, 2020
@zo0o0ot
Copy link
Contributor Author

zo0o0ot commented Sep 22, 2020

Things have gotten all loopy here, with conferences backtracking on their decisions and modified seasons being played. It may be useful to just do a school by school list of games played, or remove this entirely.

@zo0o0ot
Copy link
Contributor Author

zo0o0ot commented Oct 4, 2020

I've created an issue to represent the issues with the CovidOptOut.csv file.

#19 blocks this issue. It should be completed before this is worked on.

@zo0o0ot zo0o0ot removed the help wanted Extra attention is needed label May 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest This issue can be a part of Hacktoberfest!
Projects
None yet
Development

No branches or pull requests

1 participant