What is the difference between the tickets in the 3 different locations within GetReservationRS - sabre

These sections sometimes have the same numbers, although AccountingLines often has the 10-digit version without airline code.
RESERVATION / PASSENGER_RESERVATION / PASSENGER / TICKETINGINFO
RESERVATION / PASSENGER_RESERVATION / ACCOUNTINGLINES
RESERVATION / PASSENGER_RESERVATION / TICKETINGINFO

Related

Extracting numbers after a specific word (stringr)

I am trying to extract salary information from online job postings, from the job "description" column below:
Specifically, I would like to create a new column called "salary" based on the figures before the word "﷼" which refers to salary information per job posting.
description
<chr>
We are hiring
Project Manager
-Civil engineer Back ground
-language ( Arabic speak an read ) ( English speak and read)
-infrastructure experience
-consulting
- Location (Riyadh and Jeddah)
Contract length: 12 months
Job Types: Full-time, Contract
Salary: ﷼20,000.00 - ﷼30,000.00 per month
Experience:
* consulting: 6 years (Preferred)
* Project Management: 6 years (Preferred)
Location:
* Riyadh (Preferred)
Language:
* English (Preferred)
* Arabic (Preferred)
Work Remotely:
* No
We need a marketing employee to: -
Work on increasing the company's sales and increase the number of social media
followers.
Design and publish advertisements.
To be a Saudi national.
He /she is fully aware of the methods of using social media in advertising.
Experience in design software like Photoshop and Illustrator is preferred.
Experience in marketing.
Application Deadline: 3/18/2021
Job Types: Full-time, Permanent
Salary: From ﷼4,000.00 per month
Education:
* Bachelor's (Preferred)
Location:
* Riyadh (Preferred)
Work Remotely:
* Yes
COVID-19 Precaution(s):
* Social distancing guidelines in place
I have tried the following using Stringr
str_extract(description, "(?i)(?<=﷼\\D)\\d+")
But I keep receiving this error message:
"restarting interrupted promise evaluationinternal error -3 in R_decompress1Error in str_extract(description, "(?i)(?<=<U+FDFC>\\D)\\d+")"

In Google Analytics what is the relationship between “Event” and “Site Usage” in behavior / events / pages / report

0
In behavior / events / pages there are 2 options. "Event" and "Site Usage". What is the relationship between these two settings.
When i select a page such as "/payment" and action "MyAction" i get the below results.
"Event" view: Total events = 3,625
"Site Usage" view: Sessions = 4
In the business logic of our application these 2 values should be closer together. Noticably, the "Site Usage" only having 4 sessions looks suspicious.
To give a broader outline what i'm trying to achieve. I'd like to know the page duration of a user on "/payment" and has the action "MyAction" over the past month.

Complex Queries in Firestore / Realtime database and modeling for querying

I have a problem doing complex queries in Firestore database. I have read the documentation countless times so I know where the limitations are, but I wonder whether there is a way to structure the data so it supports my use cases. Let me explain what the use cases first:
I have a list of jobs, and users and I want to able to list/filter jobs according to some criteria and to list/filter users according to some criteria.
Job
JOB ID
- job type (1 of predefined values)
- salary (any number value)
- location (any value)
- long
- lat
- rating (1 - 5)
- views (any number value)
- timeAdded (any timestamp value)
- etc.
User
User ID
- experiences (0, 1 or more of predefined values)
- experience1
- jobCategory
- jobName
- timeEmployed
- experience2
- etc
- languages (0, 1 or more of predefined values)
- language1
- languageName
- proficency
- language2
- etc.
- location (any value)
- long
- lat
- rating (1 - 5)
- views (any number value)
- timeLastActive (any timestamp value)
- etc.
Filtering by field which can only have one value is fine. Even when I add sorting by "timeAdded" or a ragne filter.
1) The problem is when I introduce second range filter, such as jobs with "salary" higher then 15 bucks and at the same time "rating" higher then 4. Is there a way to get around this problem when I have N range filters?
2) Second problem is that I cannot use logical OR. Lets say, filter jobs, where "jobCategory" is Bartender or Server.
3) Another problem is to filter by fields, which can have more then 1 value, e.g. User can speak more than one language. Then if I want to filter users which speak English, it is not possible. Not to mention to filter users who speak e.g. English OR French.
I know I can model the data the way that I use the language as the name of the field, like -english = true, but when I introduce range filter to this, I need to create a Firestore index, which is very inconvenient since I can have around 20 languages and around 50 job types at the same time, and I would have to create indexes all the combinations together with different range filters.. is this assumption correct?
4) How would I filter jobs which up to 20 km from certain position? Radius and the position is on the user to choose.
5) What if I want to filter by all those fields at the same time? E.g. filter certain "jobCategory", location and radius, "salary" higher then something and "rating" higher then something, and sort it all by "timeAdded".
Is this possible with Firestore / Realtime database, can I model the data in some way to support this, or do I have to look for an alternative DB solution? I really like the real-time aspect of it. It will come handy when it is time to implement chat feature to the app. Is it solvable with Cloud functions? I am trying to avoid doing multiple requests, merging them together and sending that to client, since there can be any combination of filters.
If not doable with Firebase, do you know of any alternatives similar to Firestore with better querying options? I really hope I am just missing something :)
Thank you!

Custom Groups in Google Data Studio

In Google Analytics I have a custom dimension C-Age capturing age (since Google themselves are not able to automatically capture this on every visitor). In data studio I would like to aggregate this now in age groups: 18-24 / 25-34 / 35-44/ 45-54 / 55-65 / 65+
However, I seem to be unable to count instances of a metric by dimension. I have the metric users on my custom dimension C_Age.
I have tried this with CASE / WHEN but haven't been able to get the formula working. Any suggestions?
Set the aggregation method for C-Age to None in the Fields screen.
Create a calculated field using CASE / WHEN to set the proper bins for age groups.
If you want to count instances, you can just add another calculated field Visitor Count with the formula 1+0 or do a unique count on any unique identifier you might have.
This should solve your issue.

Kibana - aliasing fields in visualization

I have a Data Table visualization.
The statuses have there own values,
1 - Net Banking
2 - Cash On delivery
3 - Mobile payment
Is there any way I can alias these values to their meaning in this data table ?

Resources