Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Importing a fixtures fixture template is a quick and easy way to create fixtures matches within the BowlsLink application that conform to some custom structure which the application may be unable to "auto" generate.

The BowsLink application expects a fixtures fixture template to be a file of comma-separated values (CSV), where each line of the file represents a single fixturematche. CSV files are a common way to represent tabular data using only plain text, and many popular spreadsheet applications like Microsoft Excel support saving worksheets as CSV files.

Each fixture matche is represented using three mandatory values and four optional values. A round-number, a "home" team/opponent number, and an "away" team/opponent number make up a fixturematch's mandatory values; a time, a day, a green/rink allocation ID, and a section-number make up a fixturematch's optional values.

Byes are represented using a reserved team/opponent number of negative 1 (-1), and to-be-determined (TBD) designations are represented using a reserved team/opponent number of zero (0).

...

The template above is a typical representation of a round-robin competition with only 3 teams, where teams play each other only once. The template above includes only the mandatory values for each fixturematch: a round-number, and two opponent numbers.

...

In contrast, the template below is more complex, and includes optional values for each fixturematch, including a day, time, green/rink allocation ID, and section.

...

Note that in the template above, optional values are just that: optional. A fixture match may have a day, but no time; or a time, but no day.

...

Before attempting to import your own fixtures fixture template CSV file, take note of the following:

  1. Ensure your CSV file has a .csv extension; the BowlsLink application may be unable to recognise the file as a fixtures fixture template otherwise.
  2. Ensure your CSV file's first row represents "column headers" (like 'Round', 'Home', etc), and not a fixturematch; the BowlsLink template importer is configured to ignore the first row. As such, feel free to use whatever "column headers" make sense to you.
  3. Ensure every row of your CSV file has values for all three mandatory columns: round-number, "home" team/opponent number, and "away" team/opponent number.
  4. Round numbers don't have to be contiguous, nor do they have to start at 1; a fixtures fixture template with rounds 5, 21, and 40 is perfectly valid.
  5. Round numbers do, however, need to be greater than zero (0).
  6. Like round numbers, team/opponent numbers don't have to be contiguous, nor do they have to start at 1. We recommend, however, that you use team/opponent numbers that are greater than zero (0), as the BowlsLink application reserves numbers less than one (1) for specialised cases (like byes, which are represented using -1).
  7. Team/opponent numbers must be no greater than 9000.
  8. Days must conform to the format YYYY-MM-DD.
  9. Times must use 24-hour time and conform to the format HH:MM.
  10. Green/rink allocation IDs must identify greens/rinks allocated to the competition to which the fixturematch(s) belong. The Greens & Rinks Report can be used to generate a list of green/rink allocation IDs per competition.
  11. Section numbers don't have to be contiguous, nor do they have to start at 1; a fixtures fixture template with sections 7, 2, and 11 is perfectly valid.
  12. Section numbers do, however, need to be greater than zero (0).
  13. For any fixture any match that doesn't define a section number, section 1 will be used as default.
  14. For templates that define more than single section, the same team/opponent number must not appear in more than one section. Example: if one section uses team/opponent numbers 1-3, no other section may use these numbers. The exception to this rule is team/opponent numbers below 1, such as -1 (byes).
  15. A fixtures fixture template that defines more than a single section cannot have its fixtures its matches extrapolated using the Apply the template to how many sections? feature.

...