Teerthanker Mahaveer University Students: Collecting and Labelling Your Own Dataset Ethically

Teerthanker Mahaveer University Students: Collecting and Labelling Your Own Dataset Ethically

Facebook
Twitter
LinkedIn
WhatsApp
Email

You can collect and label your own dataset ethically by deciding what you need before you ask anyone for anything, getting clear and specific consent, collecting the minimum personal data, and writing labelling rules that two people can apply the same way. Then you measure how often your labellers agree and fix the rules, not the people, when they do not. This article gives you a protocol for that, with consent wording, a form-design table, labelling guidelines and a quality check sheet, sized for a 14-day project.

Why a self-collected dataset is worth the effort

Most student projects use a downloaded CSV, and the model is only as interesting as the file. A dataset you collected yourself shows an employer or faculty reviewer something harder to fake: you can frame a question, design an instrument, handle other people’s information responsibly and defend your labels. It also exposes you to the problems real data teams face, such as ambiguous categories, missing answers and disagreement between annotators.

The cost is responsibility. Survey answers, photos, voice notes and social media text all come from people. If you collect carelessly, you can expose someone’s identity, mislead respondents or build a dataset nobody can legally or morally reuse. The protocol below keeps the scale small so you can do it properly.

A 14-day plan for building and labelling a small dataset

A two-week window is tight, so the scope must be small: a few hundred records at most, one clear prediction or analysis question, and one or two labellers. The free two-week online internship from CareerSwami is built on the same 14-day rhythm, so a plan like this one fits inside it as a self-directed mini project.

Days Task Output you should have
1 Write the research question and the list of fields you truly need One-paragraph purpose statement, field list
2 Decide the data source, check permissions, draft the consent text Consent text, permission note
3-4 Build the form, run a pilot with 3-5 people, fix confusing questions Final form, pilot notes
5-8 Collect responses; log issues and withdrawals Raw data file, collection log
9 De-identify and clean; separate raw from working copy Cleaned file, data dictionary
10 Write labelling guidelines with examples; train labellers on 20 items Labelling guide v1
11-12 Double-label a sample (at least 50 items), compute agreement Completed check sheet
13 Revise rules, resolve disagreements, finalise labels Guide v2, final labelled file
14 Write a short datasheet and a limitations note One-page dataset documentation

Free 2-Week CareerSwami Internship

Online, 14 days, with a free offer letter and a free completion certificate once you finish the work. Check with your college that it fits your requirement before you enrol.

Apply for the free internship

Step one: define purpose and minimum fields

Ethical collection starts with data minimisation: collect only what the question needs. Write the question first, for example, “Which kinds of campus Wi-Fi complaints are most common?” Then list each field and justify it in one line. If you cannot explain why a field is needed, drop it.

  • Keep: fields that appear in your analysis or label definition.
  • Avoid by default: full name, phone number, email, roll number, exact address and date of birth. Use an age band or year of study instead.
  • Treat as sensitive: health, religion, caste, political views, sexual orientation, finances and anything about minors. Unless your question truly cannot be answered without them, do not collect them.
  • Separate identifiers: if you need contact details for follow-up, keep them in a different file from the answers and delete them when the project ends.

Consent wording you can adapt

Consent must be informed, specific and voluntary. Put it at the top of the form, in plain language, before any question. Use English plus Hindi if your respondents are more comfortable in Hindi. Do not bury it in a long paragraph or pre-tick the agreement box.

Consent text (illustrative template)

Title: [Short name of your study]

Who I am: [Your name], [programme and year], doing a
self-directed data science project.

What this is for: To build a small dataset about [topic] and
to train/analyse [what]. The results may appear in my project
report and portfolio.

What I will collect: [List fields]. I will not ask for your
name, phone number or email. [Or: I will ask for your email
only to send you the result; it is stored separately.]

Voluntary: You can skip any question and stop at any time
before submitting. To withdraw after submitting, write to
[contact] with your response code before [date], and your
response will be deleted.

Storage and sharing: Responses are stored in [where] and seen
only by me [and named labellers]. If the dataset is shared
publicly, it will be anonymised first and will not contain
free-text that could identify you.

Retention: I will delete raw data on [date].

Questions: [contact email]

[ ] I am 18 or older, I have read this, and I agree to take part.

Note the wording choices. “May appear in my portfolio” tells people the data could be seen outside the project. A withdrawal route with a deadline is realistic for anonymous data, because you can only delete what you can find. A mandatory age tick-box is a simple way to avoid collecting from minors without needing parental consent.

For India, the Digital Personal Data Protection Act, 2023 sets duties around consent and notice for personal data. The rules under it have been phased in, so read the current text on the official government site rather than relying on a summary, and keep your project free of avoidable personal data so that you stay well clear of the problem.

Form design choices that protect both respondents and data quality

A badly designed form creates ethical problems (people feel pressured) and technical ones (messy labels). Use this table when building a Google Form or similar tool.

Design choice Do this Why it matters
Consent placement Separate first section; required checkbox; form ends if unticked No data is stored without agreement
Identity Do not collect email automatically; turn off sign-in requirements unless necessary Prevents accidental identification
Question order Easy, non-sensitive questions first; optional sensitive ones last Reduces drop-out and discomfort
Answer types Dropdowns and checkboxes for categories; free text only where the research needs it Cleaner data, less stray personal information
“Prefer not to say” Include on every demographic or sensitive question Respects choice; keeps answers honest
Required fields Make almost nothing mandatory except consent Forced answers produce false answers
Free-text warning Add “Please do not include names or contact details” Reduces identifying text you must later scrub
Question wording One idea per question; no leading phrasing Avoids biased labels downstream
Pilot Test with 3-5 people who match your respondents Finds confusing options before real data arrives
Response code Generate a random ID the respondent can note for withdrawal Allows deletion without storing names

Scraping, photos and other data you did not collect by form

If your data comes from the web or from images rather than a form, the consent logic still applies. Check the site’s terms and its robots.txt file before scraping, avoid private or login-gated content, and do not collect personal profiles. For photos or audio of people, get explicit permission from each person and do not photograph in classrooms or hostels without it. If a source forbids reuse, find another source; a clean small dataset is better than a large questionable one.

Labelling guidelines that two people can apply the same way

Labels are decisions, and decisions need written rules. A guide that just lists category names produces disagreement, because every labeller fills the gaps differently. Write the guide before labelling starts and include the following sections.

  1. Task statement. One sentence describing what the labeller is judging and from whose point of view.
  2. Label definitions. For each label: a definition, at least two clear examples and one near-miss that does not belong.
  3. Priority and tie-break rules. If a record fits two labels, which wins? Write it down.
  4. An “unclear” label. Give labellers an honest exit for records that cannot be judged, and track how often it is used.
  5. Handling sensitive content. Tell labellers to flag and skip records that contain identifying details or distressing material, not to quietly keep them.
  6. Process rules. Label independently, do not discuss items until the agreement check, record time spent and note any confusion.
  7. Version number and change log. Every rule change gets a date, so you know which labels came from which version.

Be mindful of your own bias when labelling. If you are labelling “toxic” or “helpful” comments, your background shapes the call. Recruit at least one other labeller from a different programme or year if you can, and report that your labels reflect a small group’s judgment.

Inter-labeller agreement check sheet

Raw percent agreement is easy to compute but flattering, since two people guessing on a two-label task will agree about half the time. Cohen’s kappa corrects for chance agreement. Use both.

Check How to do it Target or action
Sample size Double-label a random sample of at least 50 items, or 20% of the data if smaller Random, not the first 50 rows
Independence Labellers work separately and do not see each other’s labels Record the confirmation in your log
Percent agreement Matching labels divided by total items Report it, but do not rely on it alone
Cohen’s kappa (Observed agreement – expected agreement) / (1 – expected agreement) Many teams treat about 0.6 as acceptable and 0.8 or more as strong; set your own threshold in advance
Confusion table Count which pairs of labels are confused Rewrite definitions for the most-confused pair
“Unclear” rate Share of items marked unclear High rate means the task or categories need redesign
Disagreement review Discuss each disagreement, decide the final label, note the reason Add the example to the guide
Re-check Label a fresh sample of 30-50 items under guide v2 Agreement should rise; if not, the task itself is ambiguous
Sign-off Record kappa, sample size, guide version and date Include in your dataset documentation

Worked example: computing kappa for two labellers on a complaints dataset

This example is illustrative, with invented numbers, to show the arithmetic. Suppose you collected short campus Wi-Fi complaints and two labellers each marked 50 of them as “technical fault” or “access/policy issue”.

Labeller B: technical Labeller B: access/policy Row total
Labeller A: technical 20 5 25
Labeller A: access/policy 5 20 25
Column total 25 25 50
  1. Observed agreement = (20 + 20) / 50 = 0.80.
  2. Labeller A says “technical” 50% of the time, and so does B. Expected chance agreement = (0.5 x 0.5) + (0.5 x 0.5) = 0.50.
  3. Kappa = (0.80 – 0.50) / (1 – 0.50) = 0.60.

An 80% agreement looks good, yet kappa of 0.60 says the agreement is only moderate once chance is removed. Now look at the ten disagreements. Suppose most are complaints like “can’t log in”, which one labeller reads as a technical fault and the other as an access issue. The fix is a rule: “Login failures with a correct password are technical; login failures caused by an expired or missing account are access/policy.” Add that, re-label a fresh sample and see whether kappa improves. If you work in Python, the scikit-learn library has a function for Cohen’s kappa that you can use to cross-check your hand calculation.

Storing, de-identifying and documenting the dataset

  • Keep a raw copy untouched and work on a cleaned copy, so you can always trace changes.
  • Scrub free text for names, phone numbers, emails and roll numbers using search patterns, then read a sample by eye.
  • Watch for re-identification. A combination such as programme, year, gender and a rare hobby can single someone out in a small group. Generalise or merge categories where groups are tiny.
  • Control access. Use a password-protected folder, share only with named labellers and avoid forwarding files on messaging apps.
  • Write a datasheet. One page covering purpose, collection method, consent text used, fields, label definitions, agreement scores, known biases and deletion date.

Collecting data on the TMU campus: what its structure means for your project

The TMU homepage describes the university as a private university in Moradabad with 14 on-campus colleges on a campus of more than 130 acres. For a data collector, that means your potential respondents sit across many colleges and programmes, which is useful for variety but means a survey sent to “all students” can reach people far outside your own department. Decide who you are inviting and say so in the consent text.

The same page lists a College of Computing Sciences & IT and a TMIMT College of Management, and says the B.Tech. (Computer Science & Engineering) programme is NBA accredited. If your project is tied to coursework, your own department is the natural place to ask how data-collection projects should be approved. The homepage also says the Centre for Teaching, Learning & Development runs aptitude, communication, soft-skills, group-discussion and interview-preparation training, which is relevant when you later explain your project in an interview.

When you are ready to present the work, the homepage says the Corporate Resource Centre handles placement opportunities, internships, industry interactions and career guidance, and the site’s main navigation points the Placement link to the Corporate Resource Centre page. It also states NAAC accreditation with an A grade (CGPA 3.15) and over 100 collaborations offering internships and live projects. These are the university’s own claims, and the accreditation details may change, so read the current page.

What is not stated publicly in the material reviewed is any university rule on student-run surveys, ethics review for student projects or how self-directed internship work is treated in your scheme. Do not assume a rule exists or does not exist.

Five steps to verify before you collect data at TMU

  1. Ask your project guide or class coordinator in writing: “Does a student survey involving other TMU students need departmental permission or ethics review?” Keep the reply.
  2. Ask your department office whether any written guideline covers the use of student email lists or group chats for surveys, and who owns those lists.
  3. If you plan to photograph or record anyone on campus, ask the administration which spaces need prior approval.
  4. Check your programme’s current scheme and internship or project guidelines with your department to learn whether independent work like this can be documented in your record. Do not assume it earns credit.
  5. Before naming TMU in a report, dataset or portfolio, ask your guide whether the institution’s name may be used and how it should be cited.

Warning signs that your dataset is ethically weak

  • Respondents cannot tell who is collecting their data or why.
  • The form asks for name and phone number “just in case”.
  • Consent is implied by clicking submit rather than stated and ticked.
  • You collected from a friend group only and describe the result as “students in general”.
  • One person did all the labelling, so there is no agreement score.
  • Labels were changed halfway with no version record.
  • You plan to publish the file without checking free text for identifying details.

Writing up the dataset for a portfolio or interview

A strong write-up is short and honest. State the question, the sample size, who was invited and how many responded, the consent method, the labelling guide version, the kappa score and the main limitations. A reviewer will trust a modest dataset with a clear limitations note far more than a large one with vague origins. If you later train a model, report the class balance and say plainly that the labels reflect a small group’s judgment.

Frequently Asked Questions

Do I need formal ethics approval to survey classmates for a data science project?

It depends on your department’s rules and on what you collect. Anonymous, low-risk surveys are treated differently from ones involving sensitive topics or minors. Ask your project guide in writing, and if the answer is unclear, avoid sensitive questions altogether.

How many records do I need for a useful self-collected dataset?

For a 14-day project, a few hundred well-collected records is realistic. Quality matters more than volume, and a small labelled set with a documented agreement score is more convincing than a big unlabelled one.

Is 80% agreement between two labellers good enough?

Not by itself. On a task with two balanced labels, chance alone produces about 50% agreement. Calculate Cohen’s kappa as well, set your threshold before you start and review the disagreements to improve the guide.

Can I label the data myself if I have no one to help?

You can, but you cannot measure agreement. A workaround is to label the same sample twice a few days apart without looking at your earlier labels and compute kappa between the two passes. This measures consistency, not agreement between people, so state that clearly.

What should I do if a respondent asks to withdraw after submitting?

Delete their record from raw and working files, and note the deletion in your log without recording their identity beyond the response code. This is why a random response code and a stated withdrawal deadline belong in your consent text.

Can I publish my dataset on GitHub or Kaggle?

Only if respondents were told that sharing might happen, the data is properly de-identified and free text has been scrubbed. If your consent text did not mention public sharing, keep the data private and share only the code and the datasheet.

Is it acceptable to scrape public social media posts for my labelled dataset?

Public does not mean free of obligations. Check the platform’s terms, avoid collecting usernames or profile details, and do not quote posts in a way that lets a reader trace the author. When in doubt, use a dataset whose licence clearly allows your use.

How can I fit a dataset-building project into the free two-week CareerSwami internship?

Treat the 14 days as the schedule above: purpose and consent in the first two days, collection in the middle, labelling and agreement checks in the last week. Keep the sample small enough that every step, including the datasheet, is finished by day 14.

Related Data Science guides

Ready to put this into practice?

Join the free two-week CareerSwami online internship in Data Science. The internship, the offer letter and the completion certificate are free.

Start your free 2-week internship

Web Stories

Scroll to Top