1. Home
  2. Rowrecipe
  3. Guide
  4. Keep personal data out of a file you share

Keep personal data out of a file you share

11 min readRowrecipe

You need to send a list to a contractor or a colleague, without the customers' email addresses or phone numbers. In Rowrecipe you choose once for each kind of personal data, and the choice covers the whole file.

One choice for each kind

Rowrecipe looks for phone numbers, email addresses, South African ID numbers (13 digits with a real birth date and a valid check digit), card numbers, bank account numbers (IBAN) and people's names. Each column where it finds one gets a card marked Personal. The card shows what was found there. The choice you make on it is for that kind of data:

  • Keep: "Kept as it is in the file you save." This is where every kind starts until you choose.
  • Mask, with the kinds named, such as Mask the phone numbers in it. Mask keeps the shape: an email keeps its first letter and its domain, a phone number its last 2 digits, an ID number none of its digits.
  • Leave out of the saved file. A column is left out only when every value in it (blanks aside) is of a kind you leave out. If it holds anything else, the column stays and only the cells of that kind are left empty. In any column, a cell that is only a phone number, email address or ID number is left empty, and one found inside other text is masked there, so the rest of the text stays.

Choose Mask for phone numbers on one card and every phone number in the file is masked: in every column, on every row, whole cells and inside notes such as "Call 082 555 1030 after 5". The rest of the text stays as it was. Phone numbers written with "/", "" or long dashes, such as "082/555/1000", are found too, and so are phone numbers right next to letters, such as "Cell0825551000" or "0825551000Home", next to an ID number, such as "8001015009087-0825551000", or with an invisible character inside or around it, such as a zero-width space or a right-to-left mark (a cell of only a phone number and such marks is a whole phone number, so Leave out leaves it empty). Every phone number is protected, whatever comes before it. "00" and a country code is the international way to write "+": "0027825551000" is the same phone number as "+27825551000", in any column and inside text. A "0" in brackets after the country code, as in "+44 (0)20 7946 0958" or "0047 (0)54335874", is the 0 you dial at home: the number is found with it or without it, and the "(0)" is masked too. When a phone number sits where a code is likely, such as after a code word ("Ref: 082 555 1000", "Acc 0825551000", "Unit 12 - 0825551000"), glued to capitals ("INV0825551030", "NKOSI0825551000") or after "#" ("#0825551000"), it is still masked, and the card names it: '2 masked values may be codes, not phone numbers: "INV0825551030" and "Ref: 082 555 1000". If this column holds codes, choose Not personal data here.' A phone number takes only its own digits: in "0825551000 1500" or "1500 0825551000" the phone number is masked and "1500" is kept, under Leave out too. A number with one dot and digits on both sides, such as "0.0825551000", "1.0825551000" or "-26.20410312", is a decimal number, never a phone number, and a column of such numbers is never read as phone numbers. A cell with two or three phone numbers, such as "0825551000,0835552000", "082 555 1000;083 555 2000" or "0825551000 0835552000", is read number by number, whatever joins them: a comma, a space, "+", "-", ".", "" or any other mark, one or many, such as "0825551000+0835552000" or "0825551000----0835552000", or nothing at all, such as "08255510000835552000" when the digits are exactly two or three South African numbers (10 digits starting with 0, or 11 starting with 27). Each one is masked in place, and under Leave out the cell is left empty when it holds nothing else (only marks, no words, between them). With other text beside them, such as "0825551000, after 5pm", only the phone numbers are masked. The card counts these cells apart: 'Masked 2 more cells with 2 phone numbers in one cell, each masked: "0825551000,0835552000" and "0825551000 0835552000".'

Only values of that kind change

Mask and Leave out change a value only when it is of the kind you chose for, value by value. Every other value in that column is kept exactly as written, and the card counts them. A Contact column with 24 phone numbers, two email addresses and four notes says under Mask: 'Masked 24 phone numbers. Kept 6 other values as written: "Ask reception", "ext 204" and 4 more.' Under Leave out it says: 'Left out 24 phone numbers: their cells are empty in the file you save. The column stays because it has 6 other values, kept as written: "Ask reception", "ext 204" and 4 more.' A column that holds only phone numbers and blanks is left out as before.

In that column, a value of another kind follows that kind's own choice: an email address is masked if you chose Mask for email addresses, left empty if you chose Leave out, and kept if you have not chosen.

A card that shows a kind you have not chosen for yet says so: "It also has email addresses, which have no choice yet, so they are kept." They are kept exactly as written: Mask or Leave out on phone numbers changes only phone numbers, even in a column called Contact or Cell, and ID numbers there wait for their own choice.

Your choices stay when the table is read again: after you answer the commas question, press These values are fine or Read the first row as data, change a column's type, Tidy and Undo, or open the same file again. Every card counts again from the table as read, and the file you save always matches the cards.

Rowrecipe changes a value only when it is of a kind you chose for and a card shows that kind in its column. A column named for codes, such as "Tracking no", "Waybill", "Customer no", "Member" or "Unit", can still hold phone numbers. A value there written like a whole South African mobile ("0712345600", "27825551000", "0027825551000") is protected like any phone number: masked under Mask, left empty under Leave out. The column name only changes what the card says: '6 masked values may be codes, not phone numbers: "TRK0825551000", "0825551000", "0712345600" and 3 more. If this column holds codes, choose Not personal data here.' Other codes, such as "1Z999AA10123456784" or "SA123456789ZA", stay as written. A phone number inside text is protected wherever it is, after a code word too ("Invoice 0825551030"), and named the same way. If, just before a save, Rowrecipe finds a phone number, email address or ID number in a column no card showed it in, it does not change it in silence: the column gets a card, the Check before you save card names it ('"Notes" has phone numbers that no card showed (1 of 30 values) ...'), and the save waits for Save anyway.

Choices are made once for each kind of data, so a press on one card can change another card of the same kind. That card then says so: 'Changed to Mask by your press on "Waybill" (one choice for each kind of data).' Every sentence on a card, in Check before you save and in the Saved note is said again from the choices you have now, so it always describes the file you save: after you change Mask to Leave out, a line that said "so they are masked here too" says "so they are left out here too", and after Keep or Not personal data here it says they are kept as written. A card's share, such as "80% of values have phone numbers inside the text", is counted from the same values as its counts.

Column names

Column names are checked like values. A phone number, email address or ID number in a column name is named on that column's card and masked in the file you save when you choose Mask or Leave out for that kind. If the first row of a file holds phone numbers or email addresses, it may be data, not column names: the file's list says so and offers Read the first row as data. The columns are then named Column 1, Column 2 and so on, and the first row is protected like any other.

Not personal data here

If a column only looks personal, such as a branch phone line or a code that looks like a number, choose Not personal data here on its card. That column is then kept as written for the kinds found in it. If it holds the same kind next time, it is still kept, and its card and What is different say how many values it holds, for example '"Branch line" holds 30 values with phone numbers. You said Not personal data here for it, so they are kept as written.' If it holds a different kind next time, your choice for that kind applies to it. Not personal data here on one card does not change the other cards: if Contact is masked and you choose Not personal data here on Waybill, Waybill is saved as written and Contact stays masked, and opening the file again this visit keeps both.

Next month

A recipe keeps your choice for each kind, the columns you marked as not personal data, and where each kind was found. Next month the choices apply to every column where those kinds are found. If the column a choice was made on holds fewer values of its kind this month, the Check before you save card says how many, for example "only 6 of the 30 values in Contact read as phone numbers this month", or that it has none. In that column, a number of 7 to 13 digits, such as "5551300", may be a phone number that lost its spaces, so it is still protected, and the card names it: 'Masked 1 number of 7 to 13 digits, because it may be a phone number written without its spaces: "5551300".' The same holds this visit: when you open the next file, every column where a card showed phone numbers in a file before (the card the last check added too) reads its numbers of 7 to 13 digits the same way, even when no value there reads as a phone number now. Its card says why: '"Waybill" had phone numbers in a file before this one. You chose to mask phone numbers, so numbers of 7 to 13 digits here that may be phone numbers written without their spaces are masked. Choose Not personal data here if they are codes.' So when a card says 'A saved choice (a recipe, or this one in the next file you open this visit) masks numbers like "0009389871104"', the next file does. Every other value is kept exactly as written and counted as kept: shorter numbers such as order numbers "100234" or "1500", years such as "2026", times such as "15:30", dates, amounts with decimals, and text such as "Deliver after 5". The card's counts are the changes the save makes. If a kind turns up in a column where it was not before, the Check before you save card names that column, for example: '"Notes" has phone numbers this month and did not before. Your recipe masks phone numbers, so they are masked here too. Check it before you save.' The first save or copy then waits for Save anyway; after that, every save and copy of that file runs at once, and each Saved note repeats the warning. Another file with the same warning asks again. When you change a choice on a card, a Check line about the choice it replaced goes away. On a single table these lines speak of "this file". On Free, a save of a table longer than 200 rows keeps the first 200, and the cards count what that save changes: 'Counted in the first 200 of 250 rows: the rows Free saves.' The Saved note then names only the rows kept as written among those 200. A recipe run shows no card for a new column it leaves out of the file.

Any other column

On one table, the file you save is masked as soon as you choose Mask; the table on screen shows the masks after you press Tidy, and the Tidy message counts every cell it changed, masked cells too. When you combine files or run a recipe, the table on screen shows the masks at once.

For any column you want gone, press its name in the table and press Remove column. "You removed this column. It is left out of the saved file."

Check before you send

Rowrecipe finds these kinds by their shape. It does not find them when they are written another way, and keeps these as written:

  • phone numbers with letters in them, such as "082 SAVE 123";
  • phone numbers written in words, all or in part, such as "zero eight two five five five ..." or "082 five five five 1000";
  • UK numbers of 11 digits starting with 0 and written with no spaces and no "+", such as "07946095800": it is kept, and the card names it so you can check it;
  • digits written in full-width form, such as "0825551000";
  • one phone number with a comma or semicolon inside it, such as "082 555,1000": it is kept, and the card names it so you can check it;
  • a long run of digits that is not exactly two or three South African phone numbers, such as "08255510001234567890": it is kept, and the card names it so you can check it ('Check 2 values: "082 555,1000" and "08255510001234567890". They may hold phone numbers ...');
  • email addresses written with spaces, or with "at" and "dot" in place of "@" and ".", such as "jane @ example . com", "jane[at]example.com" or "jane (at) example (dot) com".

The card counts them among the other values kept as written. Book numbers (ISBN-10 and ISBN-13, such as "0-306-40615-2") and version numbers with several dots, such as "10.0.19045.3803", are not phone numbers and are kept. Rowrecipe also cannot know every way a person can be named or described, so open the file you saved and read it before you send it. You decide what is safe to share.

Try it with the Customer orders sample on the first screen ("Emails and phone numbers").

Rowrecipe

Combine your monthly files into one clean sheet. Next month, run the recipe again.

How it works


More guides

RowrecipeHow it works